alibabacloud-agent-observability
БесплатноЗапускает вложенные скриптыНе проверенEnterprise Agent application observability skill. Read-only analysis of user-specified Agent trace (trace_id) Trajectory data, covering 6 business scenarios…
от sdk-team322 установки в других каталогахОб этом скилле
Enterprise Agent Application Observability
1. Scenario Description
Read-only observability analysis of enterprise Agent applications integrated with Alibaba Cloud's observability stack: derive behavioral insights from Trajectory data and produce a self-contained HTML observation report. This skill does not collect trajectories — it only analyzes them.
Six business questions (per-scenario fact paths, required sections, and fixed gaps in references/scenario-playbooks.md):
| Scenario | Question | Typical Audience |
|---|---|---|
| PB-S1 Task Review | What was done, how many steps, any detours? | CS lead / Product / Ops |
| PB-S2 Failure Diagnosis | Which step failed, plain-English cause, what to investigate next? | Ops / CS / Dev |
| PB-S3 Latency Analysis | Which step is slow, how much slower than its own baseline? | Product / Ops |
| PB-S4 Consumption Analysis | Where did tokens go, any retry-driven amplification? (token-only, no cost) | Management / Finance |
| PB-S5 Multi-Agent Collaboration | Who handed off to whom, did failure land on main or sub-chain? | Product / Architect |
| PB-S6 Tool Quality | Which tool is least stable, failure rate and tail latency? | Ops |
Analysis method: PB-1 two perspectives — decision "cause" (why this call at this moment) and behavior "chain" (is this step on the critical path or an expensive detour), see references/behavior-insight-playbook.md.
Architecture (data plane read-only, no writes):
graph LR
APP["Enterprise Agent App"] -->|"LoongSuit pilot / language framework probe<br/>Native Session/Turn/Step + framework state"| WS["CMS 2.0 Workspace"]
APP -->|"eBPF collection<br/>Generic model interaction + process/file/network"| EV[("SLS Project<br/>ebpf-event logstore")]
WS -->|"UModel GetEntityStoreData<br/>.trace_set(apm/apm.trace.common)"| SK["This skill"]
EV -->|"SLS get-logs raw search<br/>+ client-side aggregation"| SK
SK --> R["Observation Report"]
Dual-source combination (not either-or): LoongSuit side carries call structure and decision context (evidence: trace_id + span_id, nodes carry serviceName for natural cross-Agent tracing); eBPF side carries runtime facts (evidence: event.id + http.exchange.id, process/container/host/network). Correlation key is trace_id — eBPF rows parse trace_id from http.request.header.traceparent and attach to LoongSuit side.
Binding rules: --region required; --project (eBPF/SLS) and --workspace (LoongSuit/CMS) at least ONE (values and clarification in §3). Binding only one side is a valid configuration: the run auto-narrows to that source, the absent side is explicitly marked as an instrumentation gap (sources.<name>.bound=false + gap), no silent degradation. Coverage gaps are reported as-is: eBPF side gen_ai.* indexed fields may all be empty (see genai_index_coverage) — this itself is a gap finding.
Scope and discipline: Time dimension is on-demand ≤4h slices, analysis unit is a user-specified single trace (trace_id) — the skill does not select traces, the target trace_id is always provided by the user; no full-day 24h aggregation or weekly/monthly long-span operational analysis; Scenario 7 (security audit) and Scenario 8 (weekly/monthly trends) are reserved extensions. Report output format is self-contained HTML: map trace facts to a single TRACE_DATA object injected into references/report-template.html template (scripts/report_render.py, contract in references/report-render-spec.md). Division of labor: scripts only do quantitative aggregation and evidence extraction; qualitative analysis is performed by the Agent executing this skill, no external model dependency.
⚠ Executive Summary (core constraints, at a glance):
- Analysis unit: user-specified single trace (trace_id), skill does not select
- Final deliverables: analysis summary + HTML report (both required, see §8 checklist)
- Max window: ≤4h slice (span limit, not age limit)
- Read-only boundary: CMS
get-entity-store-data/list-workspaces+ SLSget-logs/list-log-stores; SPL deny-list blocks 7 write-type operations- Cost caliber: token-only, no money; amounts write "missing",
delta_pct=nullmarks "no baseline"
⚠ Mandatory Execution Rules
All observability tasks must be executed via workflow.py; direct calls to underlying scripts or cloud CLI are forbidden. workflow.py generates <run-dir>/workflow-complete.json (status="success") on successful completion — this file must exist with correct status before providing the final answer. Providing conclusions without completing workflow = task failure.
For correct usage see §8 Core Workflow; forbidden practices: directly calling preflight.py / span_search.py / trace_chain.py / decision_evidence.py / report_render.py, or using aliyun cms2 / aliyun sls commands directly.
2. Installation
**Pre-check: Aliyun CLI
Установить alibabacloud-agent-observability в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл alibabacloud-agent-observability?
Enterprise Agent application observability skill. Read-only analysis of user-specified Agent trace (trace_id) Trajectory data, covering 6 business scenarios (task review / failure diagnosis / latency analysis / consumption analysis / multi-Agent collaboration / tool quality) with behavioral insights (decision-cause and behavior-chain perspectives), producing a self-contained HTML observation report. Triggers: "Agent observability", "Agent behavioral insight", "trajectory analysis", "Trajectory", "trace analysis", "LLM Trace", "agent observability", "LLM application observability", "Agent observation report", "LLM latency analysis", "token consumption".
Как установить скилл alibabacloud-agent-observability?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл alibabacloud-agent-observability запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic