算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
agent-observability-spec【设计与创意】Specify the tracing, metrics, and alerting for an AI agent or LLM feature in production. Use when asked what to log for an LLM app, design agent tracing or spans, define quality and cost monitors, or answer 'how do we know if the agent is misbehaving?'. Produces an observability spec with a trace schema, metric definitions with owners and alert thres…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
You can't fix what you didn't record. For LLM systems the unit of observability is the trace — everything the model saw and did — because behaviour, not uptime, is what fails. This skill specifies what to capture, what to compute from it, and when to page someone.
Not quite this? Use
agent-specwhen you are specifying what the agent should do before it is built.
Ask for (if not already provided):
Every request produces one trace; every model call, retrieval, guardrail check, and tool execution is a span. Minimum fields:
| Span | Must capture |
|---|---|
| Request root | request id, user/session (pseudonymous), feature + prompt version, model id, total tokens, total cost, latency, terminal status |
| Model call | full input context (or content-addressed ref), output, finish reason, tokens in/out, cached-token share, temperature |
| Retrieval | query, top-k ids + scores, which chunks entered the context |
| Tool call | tool name, arguments, result (or ref), duration, error |
| Guardrail | check name, verdict, and what it did (blocked / rewrote / flagged) |
| User signal | edits, regenerates, thumbs, abandonment — joined to the trace id |
The test of the schema: an engineer can replay any incident from its trace alone (see agent-incident-postmortem).
Define four families; every metric gets a threshold, a window, and an owner.
llm-cost-latency-budget). Alert on p99 and daily-budget burn — cost incidents are caused by the tail, not the mean.System shape: [calls/pipeline/agent] · Volume: [req/day] · Stack: [tooling]
Trace schema: [the span table, tailored]
Metrics:
| Metric | Family | Threshold / baseline | Window | Alert → owner |
|---|
Sampling & retention: [the policy]
Privacy: [content classification, access, deletion path]
Dashboards: [the 2-3 views: live health, quality drift, cost]
First incident drill: pick yesterday's worst trace and confirm it can be replayed end-to-end from the stored data.