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 umputun/agterm --skill html-doc-overlaygit clone --depth 1 https://github.com/umputun/agtermWrote 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/umputun/agterm/html-doc-overlay)<a href="https://agentmods.dev/skills/umputun/agterm/html-doc-overlay"><img src="https://agentmods.dev/badge/skills/umputun/agterm/html-doc-overlay/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/umputun/agterm/html-doc-overlay"><img src="https://agentmods.dev/badge/skills/umputun/agterm/html-doc-overlay.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.00227 | $0.03519 |
| Opus 5.5 | $0.00091 | $0.01408 |
| Sonnet 5.5 | $0.00045 | $0.00704 |
| Haiku 4.5 | $0.00023 | $0.00352 |
Grade A, and why
agdoc 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 1mo 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 — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agdoc
Build one static HTML page about a subject from the current work and show it in this session's agterm
overlay. scripts/show.sh FILE does the showing; assets/<design>.html carries the look.
Every page already carries its markdown (step 6); a follow-up asking for it puts the .md on the clipboard
with pbcopy.
1. Settle the brief
The brief is a subject plus an angle.
- Arguments given: the whole string is the brief. Take the subject from it (
#123,pr 45, a URL, a plan name, a file or package, a free-form topic) and the angle from any audience cue ("business point of view", "for a reviewer", "for someone new to this"). Extra instructions in it ("only the risks", "compare with X") override the default outline below. - No arguments: gather candidates, most specific first:
- what the conversation is working on right now - an issue or PR under review, a plan being executed, an investigation or design being discussed, the change just made;
- repo state - the current branch's PR or MR through the forge CLI step 3 selects, when there is
one, commits ahead of the default branch, uncommitted changes, an in-progress plan in
docs/plans/.
- One candidate clearly dominates (the conversation is plainly about it) → take it, technical angle.
- Otherwise the subject becomes a question (step 2): up to 4 variants, most likely first and marked
(Recommended)with the reason in its description. Each label names subject and angle ("PR #45 - what it changes", "Issue #12 - business impact"); each description says what the page will contain. The built-in Other answer is the custom-instruction path, so add no option for it. - A
#Nwhose kind is unknown on GitHub:gh api repos/{owner}/{repo}/issues/N --jq '.pull_request != null'; on another forge, its CLI's equivalent.
2. Choose the design
| Design | Template | Look | Fits |
|---|---|---|---|
| Editorial | assets/editorial.html |
serif headings, hero with key numbers, pinned numbered index, cards, pipelines, timelines | explaining a topic, code area, skill or plan |
| Brief | assets/brief.html |
one screen, two at most: masthead, bottom line, a grid of labelled fact blocks | status of a PR, issue, branch or release; a quick overview |
| Classic | assets/classic.html |
plain reference page, top contents bar, pills and callouts | long reference material read top to bottom |
| Custom | assets/custom.html (base styles only) |
no fixed skeleton: the model designs the view for this task and its content | any task whose content has a shape of its own that the three would distort, an A vs B analysis for one |
What ships with it
8 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.
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.
- 1mo ago Changed · +76 lines · +62 tokens per session 0640940180a5
- 2mo ago First seen · 131 lines · 165 tokens per session scan A 74f7c74f72dc
agdoc is a skill published in the GitHub repository umputun/agterm (780 stars, last pushed today), licensed MIT. It adds 227 tokens to every session and 3,519 once invoked, about $0.0009 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-29.
agdoc compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agdocumputun/agterm | Skill | 780 | today | MIT | A | 227 | Claude Code |
| kami-landingwolfenazz/YzPzCode | Skill | 20 | yesterday | Apache-2.0 | A | 81 | Claude Code, Codex |
| html-ppt-weekly-reportwolfenazz/YzPzCode | Skill | 20 | yesterday | Apache-2.0 | A | 52 | Claude Code, Codex |
| pptx-html-fidelity-auditwolfenazz/YzPzCode | Skill | 20 | yesterday | Apache-2.0 | A | 185 | Claude Code, Codex |
| clinical-case-reportwolfenazz/YzPzCode | Skill | 20 | yesterday | Apache-2.0 | A | 73 | Claude Code, Codex |
| orbit-notionwolfenazz/YzPzCode | Skill | 20 | yesterday | Apache-2.0 | A | 117 | Claude Code, Codex |
| digital-eguidewolfenazz/YzPzCode | Skill | 20 | yesterday | Apache-2.0 | A | 103 | Claude Code, Codex |