Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add last9/last9-mcp-server --skill scoped-log-attribute-discoverygit clone --depth 1 https://github.com/last9/last9-mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/last9/last9-mcp-server/scoped-log-attribute-discovery)<a href="https://agentmods.dev/skills/last9/last9-mcp-server/scoped-log-attribute-discovery"><img src="https://agentmods.dev/badge/skills/last9/last9-mcp-server/scoped-log-attribute-discovery/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/last9/last9-mcp-server/scoped-log-attribute-discovery"><img src="https://agentmods.dev/badge/skills/last9/last9-mcp-server/scoped-log-attribute-discovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.00502 |
| Opus 5.5 | $0.00010 | $0.00201 |
| Sonnet 5.5 | $0.00005 | $0.00100 |
| Haiku 4.5 | $0.00002 | $0.00050 |
Grade A, and why
scoped-log-attribute-discovery scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Workflow: scoped log attribute discovery before filtering.
Use this workflow for log questions about a specific service, especially HTTP status, error rate, counts, breakdowns, or fields that may live in the log body.
Steps: 0. Call get_service_profile(service_name=). Use the result for all routing below — do not re-derive telemetry shape via PromQL or attribute probing.
- If signal_shape is fully populated (log_format != "unknown", level_field set),
skip attribute discovery and go directly to step 2 (get_logs). Otherwise fall
back to
get_log_attributes_for_pipelinewith a pipeline scoped to the requestedServiceNameand time window. - After scoped discovery (or profile), go directly to
get_logs. Do not inspect raw examples first; use the discovered field list, source, and parse hint to construct the aggregate query. - Build the final
get_logsquery only from fields that scoped discovery returned for that service. Do not guess common status keys such ashttp.status_code,status_code,StatusCode, orhttp.response.status_code. - If scoped discovery shows
source: "body"or provides a parse hint, copy that parse stage before filtering or grouping on the derived field. - For HTTP 5xx access-log questions, do not use
SeverityTextor severity as a proxy. Access logs can be INFO even for 5xx responses. - Use
get_logsfor final counts, breakdowns, totals, and aggregates. Do not callget_service_logsfor aggregate answers; it fetches raw samples and is not the answer path for this workflow. - Forbidden tool for this workflow:
get_service_logs. Never call it in this workflow, even if aget_logsattempt fails or returns an unexpected shape. Fix or simplify theget_logspipeline and retryget_logsinstead.
The final query must be scoped to the target service and return the requested count or grouped count, not a broad raw sample.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 41 lines · 24 tokens per session scan A 55b6d9559a14
scoped-log-attribute-discovery is a skill published in the GitHub repository last9/last9-mcp-server (62 stars, last pushed today), licensed Apache-2.0. It adds 24 tokens to every session and 502 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.
scoped-log-attribute-discovery compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scoped-log-attribute-discoverylast9/last9-mcp-server | Skill | 62 | today | Apache-2.0 | A | 24 | Claude Code, Codex |
| observability-phoenixdavila7/claude-code-templates | Skill | 35k | today | MIT | A | 47 | Claude Code, Codex |
| langsmith-observabilitysynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| detecting-process-injection-techniquesadriannoes/awesome-agentic-ai | Skill | 111 | 8d ago | MIT | A | 78 | Claude Code, Codex |
| systematic-debuggingmonoscope-tech/monoscope | Skill | 2.2k | today | AGPL-3.0 | A | 21 | Claude Code, Codex |
| investigating-ransomware-attack-artifactsadriannoes/awesome-agentic-ai | Skill | 111 | 8d ago | MIT | B | 36 | Claude Code, Codex |
| signoz-investigating-alertsSigNoz/agent-skills | Skill | 22 | 9d ago | MIT | A | 138 | Claude Code |