theokit-config

theokit-config is a skill for Claude Code from usetheokit/theokit. It costs 23 tokens per session (786 once invoked), scanned A, original, Apache-2.0.

A configuration guide for TheoKit, including its main config() builder and settings for applications, security, plugins, storage, agents, and build targets. TheoKit appears to be a framework for applications that can run agents, but the input does not define it further.

In plain words
What is it for?
Use it to create theo.config.ts, set app and security options, configure PostgreSQL and Redis storage, tune agent registries and timeouts, enable development tools, and add plugins.
Why use it?
It gives you one place to set application behavior such as ports, server rendering, cross-site request rules, content security, databases, Redis, agent limits, and development tools.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to create theo.config.ts, set app and security options, configure PostgreSQL and Redis storage, tune agent registries and timeouts, enable development tools, and add plugins.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/usetheokit/theokit/theokit-config
Install

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.

Any agent
npx skills add usetheokit/theokit --skill theokit-config
Clone the repo
git clone --depth 1 https://github.com/usetheokit/theokit

Made for: Claude Code.

Wrote 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.

agentmods badge for theokit-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/usetheokit/theokit/theokit-config/github.svg)](https://agentmods.dev/skills/usetheokit/theokit/theokit-config)
Your own site
<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.

agentmods 80×15 button for theokit-config

Your own site · 80×15
<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>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 786 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 9d ago against content hash 45b5a0288a43, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

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.

packages/create-theokit/templates/default/dot-claude/skills/theokit-config/SKILL.md · 139 lines

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

Read the full file on GitHub · 139 lines

Changes

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.

  1. 9d ago First seen · 139 lines · 23 tokens per session scan A 45b5a0288a43

Subscribe to this mod's changes

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.

Related

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"…

shyftlabs/continuum · 94 tokens

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…

shyftlabs/continuum · 98 tokens

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"…

shyftlabs/continuum · 105 tokens

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…

shyftlabs/continuum · 68 tokens

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…

shyftlabs/continuum · 80 tokens

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…

shyftlabs/continuum · 74 tokens