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 agentproto/ts --skill ap-accountsgit clone --depth 1 https://github.com/agentproto/tsWrote 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/agentproto/ts/ap-accounts)<a href="https://agentmods.dev/skills/agentproto/ts/ap-accounts"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-accounts/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/agentproto/ts/ap-accounts"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-accounts.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.00079 | $0.00936 |
| Opus 5.5 | $0.00032 | $0.00374 |
| Sonnet 5.5 | $0.00016 | $0.00187 |
| Haiku 4.5 | $0.00008 | $0.00094 |
Grade A, and why
ap-accounts 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 today.
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 — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ap-accounts
MCP profile: admin for slots and health, full only for quota
account_slots_* and account_health_* belong to the daemon's admin MCP
profile (and full). quota_status is full only: an admin session does
not see it, and in a session narrowed to core, orchestrator or apps none
of these tools are in tools/list. A "missing" tool is a profile question.
Tools
Task: read the quota before a big job
- Find the profile id with
auth_profile_list, then callquota_statuswith it (a real id, not aslot:ref; or with noprofileReffor this session's own account). - Compare
windows[].remainingPctwith the size of the job. A window near 0 with aresetsAtsoon is worth waiting for; one far away is not. - An error such as
no_readerorreader_returned_nothingmeans unknown, not empty: do not treat it as zero or as plenty.
Task: an account is exhausted, move to the other one
account_health_list: find the account withstate: "exhausted"and itsuntil. Nothing starts on it until then, and a slot skips it.account_slots_list: see which slot points at it and which alive sessions bill it.- For a
team-primary/team-secondarypair, runaccount_slots_swapwithdryRun: trueand readmoved, then run it for real. AddmoveAliveonly if the running sessions must change account now; each is restarted with its context under a new session id. - For a slot that lists several accounts, use
account_slots_preferinstead. A multi-account slot already skips exhausted accounts on its own at spawn, so reorder only to express a preference. - If every account of a slot is spent, a spawn on
slot:<name>fails withaccount_slot_exhausted, whosedetails.retryAfteris the nearest return time.
Task: reopen an account that was topped up
An exhausted account returns by itself once until has passed (state
probing, the next real turn is the trial). When it was recharged earlier,
call account_health_clear with its real profile id. If it is still empty the
next failed turn closes it again with a longer backoff, so check
quota_status first when unsure.
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.
- today First seen · 80 lines · 79 tokens per session scan A 92b8f823d381
ap-accounts is a skill published in the GitHub repository agentproto/ts (11 stars, last pushed today), licensed Apache-2.0. It adds 79 tokens to every session and 936 once invoked, about $0.0003 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-12-02.
ap-accounts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ap-accountsagentproto/ts | Skill | 11 | today | Apache-2.0 | A | 79 | Claude Code, Codex |
| skill-creator-primersammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 74 | Claude Code |
| extract-wisdomsammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 43 | Claude Code |
| llm-wikisammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 82 | Claude Code |
| apply-mantel-stylessammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 37 | Claude Code, Codex |
| authoring-claude-mdsammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 33 | Claude Code, Codex |
| home-assistantsammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 57 | Claude Code |