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 agents/paulbreuler/limps/000_agent_foundationgit clone --depth 1 https://github.com/paulbreuler/limpsWrote 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/agents/paulbreuler/limps/000_agent_foundation)<a href="https://agentmods.dev/agents/paulbreuler/limps/000_agent_foundation"><img src="https://agentmods.dev/badge/agents/paulbreuler/limps/000_agent_foundation.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.01523 |
| Opus 5 | $0.00000 | $0.00762 |
| Sonnet 5 | $0.00000 | $0.00305 |
| Haiku 4.5 | $0.00000 | $0.00152 |
Grade A, and why
000_agent_foundation 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 today.
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 — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent 0: Foundation
Plan Location: plans/0049-persistent-http-server/0049-persistent-http-server-plan.md
Scope
Features: #1, #2, #3, #7
Own: src/server-shared.ts, src/pidfile.ts, config additions
Depend on: Nothing
Block: Agent 1 waiting on shared init, config, PID file, extension preloading
Interfaces
Export
// #1 — server-shared.ts (CREATE)
export interface SharedResources {
config: ServerConfig;
configPath: string;
db: DatabaseType;
watcher: LimpsWatcher | null;
loadedExtensions: LoadedExtension[];
}
export async function initializeSharedResources(configPathArg?: string): Promise<SharedResources>;
export async function cleanupSharedResources(resources: SharedResources): Promise<void>;
// #2 — config.ts (MODIFY)
// Add to ServerConfig:
// server?: { port?: number; host?: string; }
export const DEFAULT_SERVER_PORT = 4269;
export const DEFAULT_SERVER_HOST = '127.0.0.1';
export function getServerPort(config: ServerConfig): number;
export function getServerHost(config: ServerConfig): string;
// #3 — pidfile.ts (CREATE)
export interface PidFileData { pid: number; port: number; startedAt: string; configPath: string; }
export function getPidFilePath(dataPath: string): string;
export function writePidFile(dataPath: string, data: PidFileData): void;
export function readPidFile(dataPath: string): PidFileData | null;
export function removePidFile(dataPath: string): void;
export function isServerRunning(dataPath: string): { running: boolean; data: PidFileData | null };
// #7 — server.ts (MODIFY)
export async function createServer(
config: ServerConfig, db: DatabaseType, preloadedExtensions?: LoadedExtension[]
): Promise<McpServer & { loadedExtensions?: LoadedExtension[] }>;
Features
#1: Extract shared initialization
TL;DR: Extract init logic from server-main.ts into reusable server-shared.ts.
Status: GAP
Files: src/server-shared.ts (create), src/server-main.ts (modify)
Current server-main.ts lines 39-179 contain all init: config resolve → load → mkdirSync → initializeDatabase → createSchema → indexAllPaths → checkFdBudget → startWatcher. Extract lines 59-162 into initializeSharedResources().
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.
- today First seen · 181 lines · 0 tokens per session scan A b1c27fcb4de1
000_agent_foundation is an agent published in the GitHub repository paulbreuler/limps (10 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,523 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-09-03.
Other agents, from other repositories
testing-framework-architect
Use this agent when you need expert guidance on testing strategies, test implementation, or test improvements for the pgEdge Postgres MCP Server project. Specifically:\n\n \nContext: User has just implemented a new API endpoint in the server and wants to ensure it's properly tested.\nUser: "I've added a new endpoint…
code-reviewer
Use this agent for general code quality review, catching bugs, identifying anti-patterns, and ensuring code follows best practices. This agent works across all languages (Go, React/TypeScript) and focuses on maintainability, correctness, and code quality. Examples:\n\n \nContext: Developer has written new…
documentation-writer
Use this agent when you need to create or review documentation for the pgEdge Postgres MCP Server project. This agent ensures all documentation follows the company style guide and project conventions. Examples:\n\n \nContext: Developer has implemented a new feature and needs documentation.\nuser: "I've added a new…
mcp-server-expert
Use this agent when the user needs guidance, advice, or best practices related to Model Context Protocol (MCP) server development, architecture, implementation, or usage. This includes questions about MCP server design patterns, protocol specifications, tool implementations, resource management, security…
postgres-expert
Use this agent when the user needs expert guidance on PostgreSQL database administration, configuration, or troubleshooting. Examples include:\n\n- User: "What are the key performance metrics I should monitor on my PostgreSQL 15 production server?"\n Assistant: "Let me use the postgres-expert agent to provide…
security-auditor
Use this agent for proactive security code review, vulnerability detection, and security best practices guidance. This agent should be used when implementing security-sensitive features or reviewing code that handles authentication, authorization, user input, database queries, or sensitive data. Examples:\n\n…