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.
git clone --depth 1 https://github.com/Matt-Dionis/claude-code-configsWrote 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/matt-dionis/claude-code-configs/init)<a href="https://agentmods.dev/commands/matt-dionis/claude-code-configs/init"><img src="https://agentmods.dev/badge/commands/matt-dionis/claude-code-configs/init/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/matt-dionis/claude-code-configs/init"><img src="https://agentmods.dev/badge/commands/matt-dionis/claude-code-configs/init.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.01056 |
| Opus 5.5 | $0.00000 | $0.00422 |
| Sonnet 5.5 | $0.00000 | $0.00211 |
| Haiku 4.5 | $0.00000 | $0.00106 |
Grade A, and why
init 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 3mo 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 — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Initialize MCP Server Project
Sets up a new MCP server project with the specified configuration level.
Usage
/init [basic|standard|full]
Options
basic- Minimal server with one example toolstandard- Server with tools and resources (default)full- Complete server with all capabilities
Implementation
async function initializeProject(level: 'basic' | 'standard' | 'full' = 'standard') {
// Create project structure
const dirs = [
'src',
'src/tools',
'src/resources',
'src/prompts',
'src/utils',
'src/types',
'tests',
'tests/unit',
'tests/integration',
];
for (const dir of dirs) {
await fs.mkdir(dir, { recursive: true });
}
// Create package.json
const packageJson = {
name: 'mcp-server',
version: '1.0.0',
type: 'module',
scripts: {
'dev': 'tsx watch src/index.ts',
'build': 'tsc',
'start': 'node dist/index.js',
'test': 'vitest',
'lint': 'eslint src',
'typecheck': 'tsc --noEmit',
},
dependencies: {
'@modelcontextprotocol/sdk': '^1.0.0',
'zod': '^3.22.0',
},
devDependencies: {
'@types/node': '^20.0.0',
'typescript': '^5.0.0',
'tsx': '^4.0.0',
'vitest': '^1.0.0',
'eslint': '^8.0.0',
},
};
await fs.writeFile('package.json', JSON.stringify(packageJson, null, 2));
// Create tsconfig.json
const tsConfig = {
compilerOptions: {
target: 'ES2022',
module: 'NodeNext',
moduleResolution: 'NodeNext',
outDir: './dist',
rootDir: './src',
strict: true,
esModuleInterop: true,
skipLibCheck: true,
forceConsistentCasingInFileNames: true,
},
include: ['src/**/*'],
exclude: ['node_modules', 'dist'],
};
await fs.writeFile('tsconfig.json', JSON.stringify(tsConfig, null, 2));
// Create main server file
let serverContent = '';
if (level === 'basic') {
serverContent = generateBasicServer();
} else if (level === 'standard') {
serverContent = generateStandardServer();
} else {
serverContent = generateFullServer();
}
await fs.writeFile('src/index.ts', serverContent);
// Install dependencies
console.log('Installing dependencies...');
await exec('npm install');
console.log('✅ MCP server initialized successfully!');
console.log('\nNext steps:');
console.log('1. Run "npm run dev" to start development server');
console.log('2. Use "/add-tool" to add custom tools');
console.log('3. Test with MCP Inspector: npx @modelcontextprotocol/inspector');
}
function generateBasicServer(): string {
return `
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
import {
CallToolRequestSchema,
ListToolsRequestSchema,
} from '@modelcontextprotocol/sdk/types.js';
import { z } from 'zod';
const server = new Server({
name: 'my-mcp-server',
version: '1.0.0',
}, {
capabilities: {
tools: {},
},
});
// List available tools
server.setRequestHandler(ListToolsRequestSchema, async () => {
return {
tools: [
{
name: 'hello',
description: 'Say hello to someone',
inputSchema: {
type: 'object',
properties: {
name: {
type: 'string',
description: 'Name to greet',
},
},
required: ['name'],
},
},
],
};
});
// Handle tool calls
server.setRequestHandler(CallToolRequestSchema, async (request) => {
const { name, arguments: args } = request.params;
if (name === 'hello') {
const validated = z.object({
name: z.string(),
}).parse(args);
return {
content: [
{
type: 'text',
text: \`Hello, \${validated.name}!\`,
},
],
};
}
throw new Error(\`Unknown tool: \${name}\`);
});
// Start server
const transport = new StdioServerTransport();
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.
- 3mo ago First seen · 178 lines · 0 tokens per session scan A dd16aeb87ad1
init is a command published in the GitHub repository Matt-Dionis/claude-code-configs (619 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,056 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-30.
init compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| initMatt-Dionis/claude-code-configs | Command | 619 | 1y ago | MIT | A | 0 | Claude Code |
| checklistgithub/spec-kit | Command | 154k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 154k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 154k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 154k | today | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 154k | today | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 154k | today | MIT | A | 14 | Claude Code |