kitup: Instructions file for Codex

AGENTS.md

kitup AGENTS.md is an instructions file for Codex, OpenCode from lathe-cli/kitup. It costs 1,531 tokens per session, scanned A, original, Apache-2.0.

A developer toolkit for command-line authors who package Agent Skills, which are reusable instructions for AI assistants. It validates skill bundles, installs them safely, and tracks which files it owns.

In plain words
What is it for?
Use it to validate local or bundled skills, resolve public GitHub skill bundles, detect supported AI hosts, choose safe install locations, copy files, and update or uninstall only its own installations.
Why use it?
It reduces unsafe overwrites and makes it easier to keep bundled skills consistent when users install, update, or remove them.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is lathe-cli/kitup's own configuration. It tells Codex and OpenCode how to work on kitup itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kitup configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lathe-cli/kitup. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lathe-cli/kitup/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/lathe-cli/kitup

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lathe-cli/kitup/agents-md/github.svg)](https://agentmods.dev/instructions/lathe-cli/kitup/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/lathe-cli/kitup/agents-md"><img src="https://agentmods.dev/badge/instructions/lathe-cli/kitup/agents-md/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.

agentmods 80×15 button for kitup AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lathe-cli/kitup/agents-md"><img src="https://agentmods.dev/badge/instructions/lathe-cli/kitup/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,531 This file is loaded in full into every session.
When invoked 1,531 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.01531 $0.01531
Opus 5.5 $0.00612 $0.00612
Sonnet 5.5 $0.00306 $0.00306
Haiku 4.5 $0.00153 $0.00153

Measured 2mo ago against content hash 0b805e634ea9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kitup 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 2mo 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 · 155 lines

How it starts

The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Project Boundary

kitup is a producer-side SDK for CLI authors who ship bundled Agent Skills with their tools.

The v0.1 product is deliberately small:

  • validate a local skill directory
  • validate an embedded bundled skill directory tree
  • resolve a public GitHub skill bundle directory tree
  • detect local agent hosts
  • resolve safe CLI install selection before writes
  • run the safe CLI install workflow for bundled skills
  • resolve user and project skill directories
  • copy bundled skill files
  • write .kitup.json ownership metadata
  • update or uninstall only kitup-owned installs
  • refuse unsafe overwrite conflicts
  • return structured reports
  • enforce parity through shared golden cases

Do not turn kitup into a marketplace, registry client, package manager, MCP server, GUI, agent runtime integration layer, or arbitrary skill installer. Only first-party public GitHub bundle resolution is inside v0.1 behavior. Other remote installs, private GitHub auth, marketplace search, plugin systems, AGENTS.md mutation, script execution, and symlink-first workflows are outside v0.1 unless this boundary and golden cases are changed first.

Product Promise

One bundled skill, one SDK call, many agent hosts.

The embedding CLI owns the skill and command shell. kitup owns the boring installer layer: host path lookup, detection, selection prompts, summary confirmation, validation, copy/update/uninstall semantics, metadata, conflicts, and reports.

Keep the developer experience boring. A CLI author should only need to provide:

  • appId
  • skillBundle
  • scope
  • agents

Everything else must be derived from shared data and deterministic installer behavior.

Source Of Truth

Use the live repository state, not memory or aspiration.

  • spec/hosts.json is the host adapter database.
  • spec/*.schema.json defines accepted shared data shape.
  • testdata/cases/*.json defines cross-language behavior.
  • Generated host constants in ts/, go/, rust/, and python/ come from spec/hosts.json; never edit them by hand.
  • scripts/sync-hosts.mjs refreshes and checks generated host constants.
  • scripts/check.mjs is the current parity gate.
  • docs/host-adapter-contract.md explains host adapter semantics.
  • README.md documents the public product boundary; code, schemas, and golden cases are the enforcement layer.

Read the full file on GitHub · 155 lines

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. 2mo ago First seen · 155 lines · 1,531 tokens per session scan A 0b805e634ea9

Subscribe to this mod's changes

kitup AGENTS.md is an instructions file published in the GitHub repository lathe-cli/kitup (6 stars, last pushed 5d ago), licensed Apache-2.0. It adds 1,531 tokens to every session, about $0.0061 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-08-31.

Related

kitup AGENTS.md compared with instructions from other repositories

kitup AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kitup AGENTS.mdlathe-cli/kitupInstructions file65d agoApache-2.0A1,531Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode