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 spuentesp/lain --skill lain-federationgit clone --depth 1 https://github.com/spuentesp/lainWrote 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/spuentesp/lain/lain-federation)<a href="https://agentmods.dev/skills/spuentesp/lain/lain-federation"><img src="https://agentmods.dev/badge/skills/spuentesp/lain/lain-federation/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/spuentesp/lain/lain-federation"><img src="https://agentmods.dev/badge/skills/spuentesp/lain/lain-federation.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.00047 | $0.00452 |
| Opus 5.5 | $0.00019 | $0.00181 |
| Sonnet 5.5 | $0.00009 | $0.00090 |
| Haiku 4.5 | $0.00005 | $0.00045 |
Grade A, and why
lain-federation 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 19d 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.
What it actually says
Lain federation — org-wide questions
Federation tools appear automatically when the server runs multiple
repositories; workspace tools when a workspaces.yaml is
configured. This skill covers how to use them well.
The tools
search_org— symbol/path search across every indexed repo. The answer to "which repos know about X" and the first call before anything cross-repo.get_cross_repo_blast_radius— what breaks across repos if a symbol changes, grouped by repo. Pinrepo_idwhen the name exists in more than one repo (the error tells you the candidates).depthtakes a number or range.list_repos/get_repo_info/get_federation_health— what is indexed, where it came from, and whether anything failed to load (unreachable repos are listed, not fatal).get_workspace_graph/list_workspaces/get_active_workspace— workspace-group views when repos are managed as named sets.
Rules of thumb
- Call chains (
get_call_chain) stay within one repository — by design. For the cross-repo question useget_cross_repo_blast_radius. - A cold federation answers
warming_upfirst; cross-repo edges appear once both sides are projected. Retry, do not conclude "no connections". - Ids are five segments (
repo:Kind:path:name:line_start); the line segment distinguishes same-named methods at different lines in one file. Ids returned by one tool work as handles in the next. - If a graph refuses to load after a Lain upgrade, that is the
schema gate doing its job: run
lain reindex(backs up the old graph first). See FEDERATION.md.
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.
- 19d ago First seen · 41 lines · 47 tokens per session scan A c570815fda3d
lain-federation is a skill published in the GitHub repository spuentesp/lain (9 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 452 once invoked, about $0.0002 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-09-28.
Other skills, from other repositories
revise-roadmap
Revise an implementation roadmap based on critic feedback.
validate-roadmap-scope
Roadmap scope validation gate - evaluates roadmap coverage and sizing before phase planning.
supervisor
Agentico supervisor — operate the Agentic Orchestrator server on the user's behalf through the agentico api helper.
review-implementation-design
Implementation review Design axis - live-runs visible UI quality and originality.
review-implementation-functionality-evidence
Implementation review Functionality/Evidence axis - audits plan satisfaction and verification evidence.
validate-plan-performance
Plan performance validation gate - evaluates performance and scalability before implementation.