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 skills add usetheokit/theokit --skill theokit-configgit clone --depth 1 https://github.com/usetheokit/theokitWrote 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/skills/usetheokit/theokit/theokit-config)<a href="https://agentmods.dev/skills/usetheokit/theokit/theokit-config"><img src="https://agentmods.dev/badge/skills/usetheokit/theokit/theokit-config/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/skills/usetheokit/theokit/theokit-config"><img src="https://agentmods.dev/badge/skills/usetheokit/theokit/theokit-config.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.00023 | $0.00786 |
| Opus 5 | $0.00012 | $0.00393 |
| Sonnet 5 | $0.00005 | $0.00157 |
| Haiku 4.5 | $0.00002 | $0.00079 |
Grade A, and why
theokit-config 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 9d 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 — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TheoKit Configuration
theo.config.ts
import { config } from 'theokit'
export default config()
.set({
// Basic
name: 'my-app', // DNS-1123 format (lowercase + hyphens)
port: 3000, // Dev + production port
// SSR (default: false)
ssr: false,
// Security (defaults are secure)
security: {
csrf: true, // CSRF protection (default: true)
csp: 'report-only', // Content Security Policy
},
// Agent runtime
agents: {
maxRegistries: 100,
registry: {
maxAgents: 100,
idleTimeoutMs: 30 * 60_000,
},
},
// DevTools overlay (dev only)
devtools: true,
// Plugins
plugins: [],
})
.build()
Common Configuration Patterns
Adding CORS
import { config } from 'theokit'
export default config()
.set({
// CORS is handled by the framework — configure in route-level or globally
security: {
cors: {
origin: ['http://localhost:3000', 'https://myapp.com'],
credentials: true,
},
},
})
.build()
Storage (Postgres + Redis)
export default config()
.set({
storage: {
postgres: [{ url: process.env.DATABASE_URL }],
redis: [{ url: process.env.REDIS_URL }],
},
})
.build()
Rate Limiting
export default config()
.set({
rateLimit: {
global: { max: 100, windowMs: 60_000 },
},
})
.build()
OpenAPI Generation
export default config()
.set({
openapi: {
title: 'My App API',
version: '1.0.0',
outDir: '.theokit',
},
})
.build()
CLI Commands
npx theokit dev # Start dev server with HMR
npx theokit build # Build for Node.js
npx theokit build --target=node # Explicit target
npx theokit start # Run production build
npx theokit routes # List all discovered endpoints
npx theokit generate route tasks # Scaffold a new route
npx theokit generate resource posts title:string # Scaffold CRUD resource
npx theokit db migrate # Run database migrations
npx theokit db seed # Seed database
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.
- 9d ago First seen · 139 lines · 23 tokens per session scan A 45b5a0288a43
theokit-config is a skill published in the GitHub repository usetheokit/theokit (5 stars, last pushed today), licensed Apache-2.0. It adds 23 tokens to every session and 786 once invoked, about $0.0001 per session on Opus 5. 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 skills, from other repositories
continuum-tools-mcp
Connect MCP servers (Stdio/SSE/StreamableHTTP) to a Continuum agent, configure tool filtering, set up tool-context capture/injection (e.g. sessionid), and read run artifacts (UI widgets, structured tool data). Invoke when the user asks "connect MCP", "filesystem tool", "remote API tool", "auto-capture sessionid"…
continuum-handoffs
Build agent-to-agent transitions with Continuum's Handoff system — triage routing, history summarization modes (FULL/SUMMARY/RECENTN/HYBRID), cycle detection, depth tracking, return-to-parent. Invoke when the user asks "route customer requests to specialists", "agent that can transfer to another", "summarize history…
continuum-llm-providers
Pick the right LLM provider, configure structured outputs, control context-window compression, and use the LLMClient directly. Provider routing is by model-string prefix; LiteLLM has been removed. Also covers Smart Gateway integration for multi-provider routing. Invoke when the user asks about "switch to Claude"…
continuum-temporal
Build durable agent workflows with Temporal — sequential/parallel/loop/conditional steps, human-in-the-loop approval gates, custom workflows and activities. Invoke when the user asks "long-running workflow", "approval gate", "human in the loop", "retry on failure", "workflow survives restart", or anything…
continuum-testing
Write tests for Continuum agents — mock LLM and memory clients via the DI Container, use fakeredis for sessions, snapshot agent responses, and run pytest-asyncio. Invoke when the user asks "test my agent", "mock the LLM", "fakeredis", "container injection", "pytest", or wants their CI to validate agent behavior…
continuum-agent
Build BaseAgent instances and run them with AgentRunner — covers fields, lifecycle hooks, structured outputs, ReAct mode, instruction modifiers, and the full execution flow. Invoke when the user asks "create an agent", "configure maxturns", "add lifecycle hooks", "structured output with Pydantic", or anything around…