kitup AGENTS.md

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

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/lathe-cli/kitup/agents-md
Clone the repo
git clone --depth 1 https://github.com/lathe-cli/kitup

Made for: Codex, OpenCode.

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. 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.01531 $0.01531
Opus 5 $0.00766 $0.00766
Sonnet 5 $0.00306 $0.00306
Haiku 4.5 $0.00153 $0.00153

Measured yesterday against content hash 0b805e634ea9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 4d ago), licensed Apache-2.0. It adds 1,531 tokens to every session, about $0.0077 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-31.