id-document

id-document is a skill for Claude Code from lukasrepublic/agentic-foundry. It costs 269 tokens per session (3,475 once invoked), scanned A, original, MIT.

A documentation procedure for infrastructure-as-code changes, where configuration files describe how systems should be set up. It creates or updates the change record, impact summary, operating instructions, rollback note, and changelog entry from recorded planning evidence.

In plain words
What is it for?
Use it after delivering an infrastructure change to record what changed, why it changed, what could be affected, how to operate it, and how to undo it.
Why use it?
It keeps the documentation tied to what was actually planned and avoids changing infrastructure or altering approval results. It also follows the repository’s existing documentation style.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the foundry plugin — 84 skills, 8 agents, 11 hooks, 1 MCP server shipped together

Good fit Use it after delivering an infrastructure change to record what changed, why it changed, what could be affected, how to operate it, and how to undo it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lukasrepublic/agentic-foundry/id-document
Install

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.

Any agent
npx skills add lukasrepublic/agentic-foundry --skill id-document
Clone the repo
git clone --depth 1 https://github.com/lukasrepublic/agentic-foundry

Made for: Claude Code.

Or install foundry, the plugin that ships this one along with the rest of its 84 skills, 8 agents, 11 hooks, 1 MCP server.

Wrote 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.

agentmods badge for id-document

README.md
[![agentmods](https://agentmods.dev/badge/skills/lukasrepublic/agentic-foundry/id-document/github.svg)](https://agentmods.dev/skills/lukasrepublic/agentic-foundry/id-document)
Your own site
<a href="https://agentmods.dev/skills/lukasrepublic/agentic-foundry/id-document"><img src="https://agentmods.dev/badge/skills/lukasrepublic/agentic-foundry/id-document/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.

agentmods 80×15 button for id-document

Your own site · 80×15
<a href="https://agentmods.dev/skills/lukasrepublic/agentic-foundry/id-document"><img src="https://agentmods.dev/badge/skills/lukasrepublic/agentic-foundry/id-document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 269 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,475 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00269 $0.03475
Opus 5.5 $0.00108 $0.01390
Sonnet 5.5 $0.00054 $0.00695
Haiku 4.5 $0.00027 $0.00347

Measured 3mo ago against content hash 329b47eccc66, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

id-document 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.

skills/id-document/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

id-document — generate/update the change documentation from the recorded plan step-report note (infra-delivery step 16)

The infra-delivery step sequence (a documented procedure this skill family forms — no workflow engine or state-machine file ships) drives an infra change → merge. id-document is the documentation step (step 16). It is a doc-output PROCEDURE skill the generic agent runs to generate or update the change documentation a delivered IaC change requires — the change-record (an ADR: what changed + why), the blast-radius summary, the runbook, the rollback note, and the changelog entry — DERIVED from the recorded pre-merge plan step-report note + the plan summary and MATCHED to the surrounding repo's existing doc conventions (where docs live, the changelog format, the ADR style). It reads the recorded plan observation as DATA and produces docs; it NEVER mutates infra, re-runs the plan, edits any verdict, or flips the workflow's document step.

ADVISORY — not a gate, read-only, derived-from-recorded-evidence (the safety invariant)

This skill is ADVISORY, read-only, and derived-from-recorded-evidence. It is a mistake-catcher FOR the trusted operator — it surfaces a missing change-record / stale runbook / absent rollback note / changelog-convention mismatch. It does NOT gate, approve, merge, or block; the merge floor (the adopter's branch protection + CI checks — see docs/merge-floor.md) remains the only merge authority. Honest disclosure: earlier design intent had a FROZEN contract + derive_infra_walk_verdict decide whether a change is safe to deliver at a dedicated merge gate — that machinery was retired and does not exist in scripts/ today.

id-document issues no mutating verb. It does not re-run the plan, does not apply, reconcile, or revert, does not decide a verdict, and does not flip the workflow's document step. The docs are generated from the already-recorded plan observation read as DATA — the recorded note is consumed, never re-run or mutated (id-document reads the recorded model, it never re-derives it). Because this step runs no plan and produces no plan_results, its own output is a .foundry/ doc step-report note (the advisory .foundry/id-document-report record) — NOT walk-evidence, NOT a verdict input, and carrying no machine-adjudicated GREEN claim (the binding rule: advisory PROCEDURE steps record a step-report note; the bespoke pre-merge plan recorder emit_infra_walk_evidence this note is sometimes contrasted against does not exist in scripts/).

Read the full file on GitHub · 175 lines

Changes

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.

  1. 3mo ago First seen · 175 lines · 269 tokens per session scan A 329b47eccc66

Subscribe to this mod's changes

id-document is a skill published in the GitHub repository lukasrepublic/agentic-foundry (0 stars, last pushed 23d ago), licensed MIT. It adds 269 tokens to every session and 3,475 once invoked, about $0.0011 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-31.

Related

id-document compared with skills from other repositories

id-document next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
id-documentlukasrepublic/agentic-foundrySkill023d agoMITA269Claude Code
relay-deploytonone-ai/tononeSkill842d agoMITA48Claude Code
volt-firmwaretonone-ai/tononeSkill842d agoMITA76Claude Code
atlas-reporttonone-ai/tononeSkill842d agoMITA44Claude Code
forge-costtonone-ai/tononeSkill842d agoMITA58Claude Code
lens-metricstonone-ai/tononeSkill842d agoMITA68Claude Code
prism-uitonone-ai/tononeSkill842d agoMITA45Claude Code