Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Flagler-County-BoCC/mcp-forgenpx agentmods add commands/flagler-county-bocc/mcp-forge/libraryWrote 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/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.
<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="Reviewed on agentmods" width="80" 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.1 | $0.00000 | $0.00509 |
| Opus 5.5 | $0.00000 | $0.00204 |
| Sonnet 5.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 1mo 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.
- 1mo 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 4mo 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
devkit.typescript.code-review
Provides comprehensive TypeScript monorepo code review for Nx workspaces including NestJS backend, React web, and React Native mobile apps. Use when reviewing architecture, boundaries, security, performance, CI/CD and Nx-specific practices.
types
Debug and fix TypeScript type errors with systematic analysis and expert guidance.
setup-code-intelligence
Check code-intelligence prerequisites (ripgrep + a language server) and print install hints.
type-crusade
Unleash parallel TypeScript Purist agents to purge every any, as cast, and type sin across the codebase. No type sin survives.
typescript
Apply TypeScript best practices and coding standards.
types
Run bun run typecheck or tsc or npx tsc and fix all type errors.