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 agentic-research/mache --skill authoring-schemasgit clone --depth 1 https://github.com/agentic-research/macheWrote 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/agentic-research/mache/authoring-schemas)<a href="https://agentmods.dev/skills/agentic-research/mache/authoring-schemas"><img src="https://agentmods.dev/badge/skills/agentic-research/mache/authoring-schemas/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/agentic-research/mache/authoring-schemas"><img src="https://agentmods.dev/badge/skills/agentic-research/mache/authoring-schemas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00111 | $0.01688 |
| Opus 5.5 | $0.00044 | $0.00675 |
| Sonnet 5.5 | $0.00022 | $0.00338 |
| Haiku 4.5 | $0.00011 | $0.00169 |
Grade A, and why
authoring-schemas 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 3mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/mache:authoring-schemas — Write a mache projection schema
A mache schema (api/schema.go) projects data into a tree: Topology → Node (dirs) → Leaf (files). There are two dialects and the first decision is which you're in:
| Source | Walker | Selector dialect | Path |
|---|---|---|---|
| source code (.go, .py, …) | tree-sitter / ASTWalker | tree-sitter S-expressions: (kind field: (child) @cap) @scope |
examples/go-schema.json |
| data (.db, .json) | JSONPath (ojg) | JSONPath: $, $[*], $.item.field[*] |
examples/{nvd,kev}-schema.json |
Start by copying the closest example and editing — never write from scratch.
Schema shape (the fields that matter)
Topology { version, table?, nodes[], file_sets?, diagrams? }
Node { name, selector?, refs?, language?, children[], files[], skip_self_match? }
Leaf { name, content_template, content_source?, attributes? }
nameis a Go text/template rendered against the match — it can be a literal (functions), a field ({{.name}}), or a computed expression ({{replace .item.X ":" " "}}). Computed names become directory names.selectorpicks matches.$is the wildcard "everything at this level" (used for grouping dirs likefunctions/,types/).content_templaterenders a leaf's bytes. Thesourceleaf conventionally uses{{.scope}}— the matched construct's full source text.refsare template strings; each rendered token callsAddRef(token, nodeID)→ powerscallers/.
Tree-sitter dialect (source code) — gotchas
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.
- 3mo ago First seen · 79 lines · 111 tokens per session scan A 6eb2bc65c994
authoring-schemas is a skill published in the GitHub repository agentic-research/mache (46 stars, last pushed today), licensed Apache-2.0. It adds 111 tokens to every session and 1,688 once invoked, about $0.0004 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-08-30.
authoring-schemas compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| authoring-schemasagentic-research/mache | Skill | 46 | today | Apache-2.0 | A | 111 | Claude Code |
| lsp-inspectblackwell-systems/agent-lsp | Skill | 186 | today | MIT | A | 126 | Claude Code |
| lsp-refactorblackwell-systems/agent-lsp | Skill | 186 | today | MIT | A | 57 | Claude Code |
| lsp-understandblackwell-systems/agent-lsp | Skill | 186 | today | MIT | A | 69 | Claude Code |
| lsp-dead-codeblackwell-systems/agent-lsp | Skill | 186 | today | MIT | A | 43 | Claude Code |
| lsp-safe-editblackwell-systems/agent-lsp | Skill | 186 | today | MIT | A | 59 | Claude Code |
| lsp-edit-exportblackwell-systems/agent-lsp | Skill | 186 | today | MIT | A | 46 | Claude Code |