api-keys

api-keys is an agent for coding agents from saratihq/sarati. It costs 15 tokens per session (539 once invoked), scanned A, original, no licence file.

A workflow for creating, using, and cancelling scoped API keys. An API key is a credential that lets software authenticate with a service.

In plain words
What is it for?
Use it to mint a scoped key, send it as a bearer token, and revoke it.
Why use it?
It limits a key’s intended access and lets you revoke it when it is no longer needed.

Agent

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.

agentmods
npx agentmods add agents/saratihq/sarati/api-keys
Clone the repo
git clone --depth 1 https://github.com/saratihq/sarati

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 api-keys

README.md
[![agentmods](https://agentmods.dev/badge/agents/saratihq/sarati/api-keys.svg)](https://agentmods.dev/agents/saratihq/sarati/api-keys)
Your own site
<a href="https://agentmods.dev/agents/saratihq/sarati/api-keys"><img src="https://agentmods.dev/badge/agents/saratihq/sarati/api-keys.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 539 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown 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 $0.00015 $0.00539
Opus 5 $0.00008 $0.00269
Sonnet 5 $0.00003 $0.00108
Haiku 4.5 $0.00002 $0.00054

Measured 3d ago against content hash cbe972eb0e76, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

api-keys scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST http://localhost:8080/api/api-keys \
docs/src/content/docs/agents/api-keys.md · 67 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 3d ago First seen · 67 lines · 15 tokens per session scan A cbe972eb0e76

Subscribe to this mod's changes

api-keys is an agent published in the GitHub repository saratihq/sarati (2 stars, last pushed 4d ago), with no licence file. It adds 15 tokens to every session and 539 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

docs-writer

Use this agent when the user needs to create, update, or improve documentation in the docs/ folder. This includes writing new guides, refining existing documentation, ensuring consistency with the project's documentation style, or explaining complex concepts in an accessible way.\n\nExamples:\n- \nuser: "I just added…

vercel/workflow · 0 tokens

branch-diff-reviewer

Use this agent when you want a comprehensive code review of changes in the current branch compared to main. This includes reviewing for bugs, optimization opportunities, code style issues, potential mistakes, and adherence to project conventions. The agent should be invoked after completing a feature branch or before…

windmill-labs/windmill · 0 tokens

sub-agents

A sub-agent is another agent that your agent hands one self-contained task to, waits for, and gets an answer back from. Use it when a piece of work wants a different role — research, code review, image generation — or when the intermediate steps would flood the main conversation.

yogasw/wick · 0 tokens

publish-guard

Pre-publish safety reviewer for @dunx/ packages. Run before committing to main to catch issues that would result in a bad npm publish. Checks exports maps, package.json fields, accidentally exposed internals, and dist output integrity.

petarzarkov/dunx · 52 tokens

projects

A project bundles a folder with its defaults. One project = 1 folder + defaults + pinned sessions + a display name and icon. Sessions belong to a project; the project's folder is the cwd the agent subprocess runs in.

yogasw/wick · 0 tokens

memory-guard

The agent pool (Pool & Sessions) caps how many agent processes run at once. It has no idea how much RAM any one of them uses — an idle agent at 150 MB and one driving a browser at 2 GB count as the same slot. A single runaway agent (a browser leak, a bad loop) can take the whole machine down with it, wick included.

yogasw/wick · 0 tokens