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 skills/markmhendrickson/foundation/publishnpx skills add markmhendrickson/foundation --skill publishgit clone --depth 1 https://github.com/markmhendrickson/foundationWhat 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.00009 | $0.04295 |
| Opus 5 | $0.00005 | $0.02148 |
| Sonnet 5 | $0.00002 | $0.00859 |
| Haiku 4.5 | $0.00001 | $0.00430 |
Grade A, and why
publish 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 2d 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.
This is a copy
100% identical to publish — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 555 lines — stays where its author put it; the contents beside it link to each section on GitHub.
publish
Merge dev commits into main, create a release (planned or incremental), and deploy to production.
PARAMETER MODES:
- No parameter (default): Publish main repository
- Submodule name parameter (e.g.,
/publish foundation): Publish that specific submodule only
Release Numbering Strategy
Planned Releases (Milestones):
- Use semantic versioning:
vX.Y.0(major.minor.0) - Examples:
v1.0.0,v1.1.0,v2.0.0 - Created via
/create_releasecommand with full workflow - Control major and minor version numbers
Incremental Releases (Continuous Deployments):
- Use semantic versioning as patches:
vX.Y.Zwhere Z increments - Examples: If last planned release is
v1.1.0, incremental releases arev1.1.1,v1.1.2 - Auto-generated via
/publishcommand - Only patch version increments (never major or minor)
Relationship:
- Independent purposes: Planned releases are milestones, incremental releases are continuous deployments
- Example sequence:
v1.0.0(planned) →v1.0.1,v1.0.2(incremental) →v1.1.0(planned) →v1.1.1(incremental)
Parameter Detection and Routing
STEP 1: Detect parameter and route to appropriate workflow:
# Check if parameter provided
if [ -n "$1" ]; then
PARAM="$1"
# Submodule mode: publish that submodule only
echo "📦 SUBMODULE MODE: Publishing submodule '$PARAM'"
# Verify submodule exists
if ! git submodule status "$PARAM" >/dev/null 2>&1; then
echo "❌ Submodule not found: $PARAM"
exit 1
fi
# Proceed to submodule publish workflow
else
# Main repo mode: publish main repository
echo "📦 MAIN REPO MODE: Publishing main repository"
# Proceed to main repository publish workflow
fi
Submodule Publish Workflow
When a specific submodule name is provided (e.g., /publish foundation):
- Change to submodule directory:
cd "$PARAM" || { echo "❌ Failed to change to submodule directory: $PARAM" exit 1 }
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.
- 2d ago First seen · 555 lines · 9 tokens per session scan A 929a6a8d8dd8
publish is a skill published in the GitHub repository markmhendrickson/foundation (2 stars, last pushed 1mo ago), licensed MIT. It adds 9 tokens to every session and 4,295 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to publish, differing in 7 lines, and is treated as a copy.
Other skills, from other repositories
ship
Ship workflow: detect + merge base branch, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, create PR. (gstack).
agent-github-modes
Agent skill for github-modes - invoke with $agent-github-modes.
deploy-checklist
Pre-deployment verification checklist. Use when about to ship a release, deploying a change with database migrations or feature flags, verifying CI status and approvals before going to production, or documenting rollback triggers ahead of time.
multi-agent-release-manager
Cleans up the workspace, formats code, runs presubmit checks, and uploads CLs to Gerrit.
tutti-app-release
Set up, review, run, or debug external repositories that publish a Tutti workspace app through the reusable Tutti App Release GitHub Actions workflow. Use for caller workflows, tutti.app.json manifests, @tutti-os/app-release-tools, S3/CloudFront release hosting, latest.json, versions.json, catalog.json, catalog-only…
deploy
Use when ready to ship — runs pre-push gates (lint, typecheck, build, tests, security sweep), commits, releases, and pushes. Standalone, never auto-invoked. Push always requires explicit confirmation. Trigger with /hyperflow:deploy, "ship it", "ready to push", "release", "cut a release", "deploy".