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-agentsgit 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-agents)<a href="https://agentmods.dev/skills/usetheokit/theokit/theokit-agents"><img src="https://agentmods.dev/badge/skills/usetheokit/theokit/theokit-agents/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-agents"><img src="https://agentmods.dev/badge/skills/usetheokit/theokit/theokit-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Prompt Injection · line 188 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 192 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 193 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00036 | $0.02030 |
| Opus 5 | $0.00018 | $0.01015 |
| Sonnet 5 | $0.00007 | $0.00406 |
| Haiku 4.5 | $0.00004 | $0.00203 |
Grade A, and why
theokit-agents 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 — 213 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TheoKit Agents & Tools
Server Surface — agents/*.ts (zero-config convention)
Create an agents/<name>.ts file at the project root. It is automatically served at
POST /api/agents/<name> (dev + build) with no manual route wiring.
// agents/chat.ts
import { AgentBuilder } from '@theokit/agents'
import { z } from 'zod'
export default AgentBuilder.create()
.input(z.object({ message: z.string() }))
.model('openrouter/openai/gpt-4o-mini')
.system('You are a helpful assistant.')
.build()
The endpoint streams the ai-sdk UIMessageStream that useAgent (client hook) consumes.
@theokit/sdk runs the agent; conversation turns auto-persist per session — the SDK owns storage.
Provider resolution: the FIRST segment of the model id picks the provider, and that decides
which key is needed — openrouter/… needs OPENROUTER_API_KEY, anthropic/… needs
ANTHROPIC_API_KEY, openai/… needs OPENAI_API_KEY. A bare vendor prefix is a selection of that
vendor, not a hint: reaching OpenAI's catalog through OpenRouter means naming the gateway first
(openrouter/openai/gpt-4o-mini). Set the matching key in .env.
Advanced Surface — @Agent Decorator (DI / class-based)
When you need dependency injection or composition, build the agent from capabilities
(@theokit/agents). Each capability enriches the same compiled options; conflicts fail fast.
// server/agents/assistant.agent.ts
import { applyCapabilities, AgentConfigCapability, ModelCapability } from '@theokit/agents'
export const assistantAgent = applyCapabilities([
new ModelCapability('openrouter/openai/gpt-4o-mini'),
new AgentConfigCapability({
systemPrompt: 'You are a helpful assistant.',
maxIterations: 5,
}),
])
// The framework runs the LLM loop via @theokit/sdk.
Tools — tool()
Declare a tool with the tool() builder from theokit/server/define, then chain it onto the agent
with .tool(…). It is the same API agents/tools/weather.ts in this project uses — read that file
for a working one.
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 · 213 lines · 36 tokens per session scan A 48c8c0905dd7
theokit-agents is a skill published in the GitHub repository usetheokit/theokit (5 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 2,030 once invoked, about $0.0002 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
senior-dev
Activates the SeniorDev agent for full-stack software engineering. Use this skill when you need production-ready code: Next.js 14 frontends, FastAPI backends, TypeScript strict-mode components, PostgreSQL schemas, Redis caching, authentication flows, or complete REST/GraphQL APIs. SeniorDev always outputs complete…
openforms-mui
Author, render, preview and debug OpenForms FormSchemaJSON form definitions as idiomatic, themed, accessible MUI (React). Use when the user wants to design an OpenForms form, render an OpenForms schema with Material UI, convert an OpenForms JSON schema into a React MUI form, preview a form schema, or debug…
canvas-webapp
Render a React/Vite (or any bundled) web app on the pi-dashboard canvas, which loads loopback URLs in a sandboxed opaque-origin iframe. Use when a canvas(target:{kind:"url"|"server"}) target shows up blank white, an empty surface, or a /live/ 500 ECONNREFUSED. Covers why Vite dev servers and non-CORS static servers…
remotion
Render a short (10s) video on any topic with Remotion - the agent writes a storyboard JSON, a bundled React/Remotion project renders it to an MP4, and the clip is committed to the repo and delivered by URL. No editor, no external generative API.
software-frontend
Builds frontend applications across major web stacks. Use when implementing UI, fixing hydration or SSR issues, or setting up modern frontend architecture.
software-localisation
Implements production-grade i18n/l10n for React, Vue, Angular, and Next.js with ICU format and RTL support. Use when setting up or debugging localisation.