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 agentmods add commands/kychee-com/run402-core/publish-coregit clone --depth 1 https://github.com/kychee-com/run402-coreWrote 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/commands/kychee-com/run402-core/publish-core)<a href="https://agentmods.dev/commands/kychee-com/run402-core/publish-core"><img src="https://agentmods.dev/badge/commands/kychee-com/run402-core/publish-core.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.01259 |
| Opus 5 | $0.00000 | $0.00629 |
| Sonnet 5 | $0.00000 | $0.00252 |
| Haiku 4.5 | $0.00000 | $0.00126 |
Grade A, and why
publish-core 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 4d 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.
2. Verify registry state with direct `curl`: How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/publish-core - Publish Run402 Core packages to npm via OIDC
Trigger the canonical publish pipelines in this repo:
| Package | Workflow | Tag |
|---|---|---|
@run402/functions |
.github/workflows/publish-functions.yml |
v<version>-functions |
@run402/release |
.github/workflows/publish-release.yml |
v<version>-release |
@run402/runtime-kernel |
.github/workflows/publish-runtime-kernel.yml |
v<version>-runtime-kernel |
These workflows own the full release lifecycle: version bump, lockfile update, build/test/smoke, OIDC-authenticated npm publish --provenance, version-bump commit-back to main, tag, GitHub release, and workflow summary.
Do not publish locally with npm publish. The trust model is npm Trusted Publisher: kychee-com/run402-core + main + the exact workflow filename.
When to publish
@run402/functions: in-function helper API/types/runtime changed.@run402/release: ReleaseSpec canonicalization, materialization, diffing, schemas, or compatibility fixtures changed.@run402/runtime-kernel: public Core runtime contracts, capabilities, gateway-facing services, storage, functions, archive import/export, or adapter-facing behavior changed.
If @run402/functions or @run402/release changed and runtime-kernel should consume it, publish the dependency first, then commit a runtime-kernel dependency bump to the exact published version, then publish runtime-kernel.
Pre-flight
Run from the repo root.
-
Verify local
mainis exactly synced withorigin/main:git branch --show-current git fetch origin main git rev-list --count HEAD..origin/main git rev-list --count origin/main..HEAD git status --shortStop if not on
main, behind/ahead, or dirty. The workflow builds fromorigin/main; unpushed or uncommitted work would be invisible. -
Run local checks:
npm run lint npm run build npm test -
Run relevant package smoke checks:
npm run test:functions:smoke npm run test:release:smoke npm run core:boundary
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.
- 4d ago First seen · 119 lines · 0 tokens per session scan A dc9f694bbfa0
publish-core is a command published in the GitHub repository kychee-com/run402-core (20 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,259 tokens. 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-30.
Other commands, from other repositories
tokenless-stats
Show Tokenless compression statistics.
coder-eval-implement-plan
Implement an approved codereval plan phase by phase with risk-scaled per-phase review, then a final code review.
riskreview
The user invoked the /riskreview facade command from the risk-review-pipeline pack.
task-verify
PitWay: Run an inprogress task's approved verification command and persist evidence.
usage-add
PitWay: Accumulate measured planning or qa token usage onto a milestone.
milestone-list
PitWay: List every milestone with a concise one-line status.