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/flagler-county-bocc/mcp-forge/librarygit clone --depth 1 https://github.com/Flagler-County-BoCC/mcp-forgeWrote 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/flagler-county-bocc/mcp-forge/library)<a href="https://agentmods.dev/commands/flagler-county-bocc/mcp-forge/library"><img src="https://agentmods.dev/badge/commands/flagler-county-bocc/mcp-forge/library.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.00509 |
| Opus 5 | $0.00000 | $0.00254 |
| Sonnet 5 | $0.00000 | $0.00102 |
| Haiku 4.5 | $0.00000 | $0.00051 |
Grade A, and why
library 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.
How it starts
The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Entrypoint — library
This file is consumed by Step 8 of the rewrite process. Apply when
AUDIT_MANIFEST.projectType === "library".
src/index.ts — Public Barrel
// Export every public symbol. Nothing else.
export { <Feature> } from './modules/<feature>/<feature>.js';
export type { <FeatureOptions>, <FeatureResult> } from './modules/<feature>/<feature>.types.js';
// One export line per symbol in AUDIT_MANIFEST.exportedSymbols
Rules:
src/index.tsis the only public entry. Internal helpers are never re-exported.- Export types separately with
export type { ... }— never mix value and type exports on one line. - No default export — named exports only.
- Every symbol in
AUDIT_MANIFEST.exportedSymbolsmust be re-exported here.
Module Implementation Pattern
// src/modules/<feature>/<feature>.ts
import type { LibraryLogger } from '../../lib/logger.js';
import { createLogger } from '../../lib/logger.js';
import type { <Feature>Options, <Feature>Result } from './<feature>.types.js';
import { <Feature>InputSchema } from './<feature>.schema.js';
import { validate } from '../../lib/validate.js';
export function <featureName>(
input: unknown,
options?: <Feature>Options & { logger?: LibraryLogger },
): <Feature>Result {
const log = createLogger(options?.logger);
const parsed = validate(<Feature>InputSchema, input);
log.debug({ parsed }, '<featureName> called');
// implementation
return result;
}
Rules:
- Every exported function validates its inputs with
validate(). - Async functions return
Promise<T>— never use callbacks. - Functions throw
AppErrorsubclasses on business-rule violations. - No global mutable state — no module-level variables that change after first import.
- All configuration is passed as function parameters, not read from
process.env. - Accept an optional
logger?: LibraryLoggerparameter and callcreateLogger(logger)at top of function.
Determinism Rules
src/index.tsis the only file consumers may import — verify no internal paths leak through re-exports.- Libraries have no
server.ts,app.ts,stdio.ts, or any process entry file.
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.
- 3d ago First seen · 53 lines · 0 tokens per session scan A a0058c97a709
library is a command published in the GitHub repository Flagler-County-BoCC/mcp-forge (1 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 509 tokens. 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.
Other commands, from other repositories
deslop
Remove AI-generated code slop from the current branch's changes.
triage
Triage Linear issue with comprehensive analysis.
release
Perform a full release: generate release notes, bump version, commit, tag, and push.
superpowers-execute
Execute the current GSD phase plan with Superpowers instead of gsd-execute-phase.
migrate
Command "migrate" from chohra-med/expo_boilerplate, covering invocation, steps and rule.
audit
Command "audit" from chohra-med/expo_boilerplate, covering invocation, checks and output.