skills AGENTS.md

skills AGENTS.md is an instructions file for Codex, OpenCode from upstash/skills. It costs 269 tokens per session, scanned A, original, MIT.

Contributor instructions for a collection of Upstash skills, including how their combined documentation is generated. The generated directory is built from separate source skill files.

In plain words
What is it for?
Use them when updating an Upstash sub-skill, rebuilding the combined output, or checking whether generated files match their sources.
Why use it?
They prevent edits from being lost and explain the build and clean-tree checks needed to keep generated documentation current.

Instructions file for CodexOpenCode

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 instructions/upstash/skills/agents-md
Clone the repo
git clone --depth 1 https://github.com/upstash/skills

Made for: Codex, OpenCode.

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 skills AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/upstash/skills/agents-md.svg)](https://agentmods.dev/instructions/upstash/skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/upstash/skills/agents-md"><img src="https://agentmods.dev/badge/instructions/upstash/skills/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 269 This file is loaded in full into every session.
When invoked 269 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original 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.00269 $0.00269
Opus 5 $0.00134 $0.00134
Sonnet 5 $0.00054 $0.00054
Haiku 4.5 $0.00027 $0.00027

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

Security

Grade A, and why

skills AGENTS.md 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 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.

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.

AGENTS.md · 20 lines

What it actually says

Agent guide

Keep skill docs short and effective

Skills are consumed by agents, not read as blog posts. Say what the correct behaviour is and show it — then stop. Don't pile on caveats, notes and inline comments beyond what a reader needs to act on the example.

Never edit skills/upstash/ by hand

It is generated by scripts/build.mjs from each skills/upstash-*/SKILL.md. The build strips the frontmatter and writes overview.md into the combined skill.

To change a sub-skill:

  1. Edit skills/<skill-name>/SKILL.md — the source of truth.
  2. Run npm run build to regenerate skills/upstash/.
  3. Commit both the source and the regenerated output.

CI runs npm run check, which fails if the generated output is stale. check.mjs asserts that git status --porcelain is empty after rebuilding, so it only passes on a fully clean tree — commit your source edits and the regenerated output before running it, otherwise it reports them as "out of date".

The build's pre-check also refuses to run while skills/upstash/ has unstaged changes — if you edited it by mistake, git restore skills/upstash/ first.

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 · 20 lines · 269 tokens per session scan A 287a3a38cbb3

Subscribe to this mod's changes

skills AGENTS.md is an instructions file published in the GitHub repository upstash/skills (23 stars, last pushed 6d ago), licensed MIT. It adds 269 tokens to every session, about $0.0013 per session on Opus 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-08-30.