Borrowing it
Nothing to install: this file belongs to singula-ai/alego. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/singula-ai/alego/main/.agents/skills/alego-doc/SKILL.mdgit clone --depth 1 https://github.com/singula-ai/alegoWrote 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/singula-ai/alego/alego-doc)<a href="https://agentmods.dev/skills/singula-ai/alego/alego-doc"><img src="https://agentmods.dev/badge/skills/singula-ai/alego/alego-doc/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/singula-ai/alego/alego-doc"><img src="https://agentmods.dev/badge/skills/singula-ai/alego/alego-doc.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.00094 | $0.03791 |
| Opus 5.5 | $0.00038 | $0.01516 |
| Sonnet 5.5 | $0.00019 | $0.00758 |
| Haiku 4.5 | $0.00009 | $0.00379 |
Grade A, and why
alego-doc 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 6d 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.
This is a copy
94% identical to dsh-doc — 18 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Alego documentation
Summary
The Alego documentation standard: make every page searchable, newcomer-readable, and exact enough for agents and maintainers, and keep the documentation website a tested projection of repository Markdown. Apply repository AGENTS.md files and executed gates first, then this workflow for kind-mapped metadata, progressive detail, line-aligned bilingual pages, corpus audits, and website publication. Preserve one owner per fact: source, tests, generated catalogs, package READMEs, guides, Agent Notes, and scratch each keep their own kind of truth. The session-persistence-jsonl README pair is the reference example of the format.
Table of Contents
- Workflow
- Fact-check procedure: test, do not assume
- Kind system and templates
- Voice rules
- Quality criteria
- Audit the corpus
- Wordcount budgets
- Website publication
- Detailed references
- Validation
- Dev Note
Workflow
Follow this sequence for each requested scope. Keep the common reader path brief, but do not delete failures, ownership, limitations, or other required contracts merely to reduce words.
- Read root and more-specific
AGENTS.md, the documentation standard, the target page, its source/tests, navigation owner, and bilingual record. - Classify the page by one primary job and reader: product quick start, user task guide, contributor tutorial, architecture overview, package/subsystem reference, generated reference, agent instruction, decision record, or scratch.
- Place the page at its nearest owner. Keep package contracts beside package code; use
docs/for cross-package learning, user, developer, architecture, discussion, and expiring scratch material. - Define the reader's starting state, observable outcome, likely failure, recovery path, and next useful depth before writing details.
- Add or revise YAML metadata — assign the
kindthat maps to the template for this document's job — then writeSummary,Table of Contents, user-facing content, developer-facing content, optionalFurther Exploration, and finalDev Notein that order where the document type permits. - Update the bilingual counterpart in the same pass. Keep headings, lists, tables, code, links, frontmatter layout, and physical line count aligned.
- Verify every claim against code, tests, generators, package metadata, or a current decision owner — and run the operations the page instructs, per the fact-check procedure below. Update the owner before any derivative artifact.
- Run focused checks, then
pnpm run test:docs,pnpm run doc-sync,pnpm run lint, andgit diff --check; re-read the complete diff for correctness and then for brevity and repository fit.
What ships with it
13 files 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.
- references/metadata-links-i18n.md 9.3 KB
- references/review.md 5.9 KB
- references/structure-hierarchy.md 6.1 KB
- references/style.md 4.0 KB
- references/website-sync.md 6.7 KB
- templates/package-bundle.md 3.4 KB
- templates/package-group.md 1.8 KB
- templates/package-library.md 3.5 KB
- templates/package-reference.md 3.8 KB
- templates/persistence-change.md 4.2 KB
- templates/persistence-format.md 2.4 KB
- templates/persistence-release.md 3.1 KB
- templates/upgrade-guide.md 913 B
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.
- 6d ago Changed · +1 lines 3a2bbff49596
- 26d ago Changed · +3 lines be8d2be4f208
- 1mo ago Changed 0e6eee1ee4e3
- 1mo ago First seen · 129 lines · 94 tokens per session scan A 1fcacedf4d09
alego-doc is a skill published in the GitHub repository singula-ai/alego (109 stars, last pushed 3d ago), licensed MIT. It adds 94 tokens to every session and 3,791 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to dsh-doc, differing in 18 lines, and is treated as a copy.
Other skills, from other repositories
office-docx
A tool for creating and reading editable Microsoft Word documents in the .docx format. It supports common document parts such as headings, paragraphs, tables, code blocks, lists, and centred titles.
impact-report-writer
Nonprofit/NGO impact report generation with data visualization suggestions, outcome metrics, narrative structure, and program data presentation. Use when writing impact reports, annual reports, or program evaluation summaries.
investment-memo-generator
Investment memo creation combining financial analysis, document generation, and structured templates. Use when creating investment memos, pitch decks, deal summaries, or investment committee materials.
codebase-documenter
Write codebase documentation: READMEs, architecture docs, getting-started guides, API docs, and code comments. Use when documenting code or making a project easier for new developers.
agent-documentation-writer
Specialist subagent: Generates comprehensive documentation including READMEs, API docs, architecture docs, and inline comments. Use when documenting code, creating guides, or explaining systems.
harness
Use when governing a workspace's control plane, code or not — the 01-TOOLS/ tooling layer, the 02-DOCS/ chaos→knowledge wiki, the root Knowledge map. Audits it, migrates legacy XX- folders, scaffolds provider tooling, sweeps the inbox, eats a file the person hands over ("cómete este fichero", "guárdalo en la…