Without a harness
A capable but unpredictable assistant
You re-explain the context in every session, results depend on how each person phrases the prompt, and nothing guarantees that your rules are applied.
A harness gathers everything that frames AI on a task: context, roles, workflow, tools, checks. AI-KIDO helps you build it, block by block.
On its own, a model knows neither your project nor your rules. The harness is what surrounds it so it completes a task reliably.
Without a harness
You re-explain the context in every session, results depend on how each person phrases the prompt, and nothing guarantees that your rules are applied.
With a harness
The assistant knows where to find the knowledge, which role to take, which workflow to follow and what to verify. The same task produces consistent results, whoever starts it.
With the AI-KIDO meta-harness
Instead of a single fixed harness, AI-KIDO provides the tools to create, combine and improve harnesses from your Memory Bank, for development, documentation, review or any recurring task.
Start from a concrete need. Each command guides you and draws on your Memory Bank.
Create an expert persona or a technical agent with a defined role, scope and instructions. Extend your team of agents when a new need appears.
/create-persona
Create a guided command, check for duplicates and integrate relevant agents and best practices. Make the steps explicit and reusable.
/create-command
Create or extend a skill with instructions, metadata and optional scripts or resources. Give your agents reusable capabilities instead of repeating every instruction.
/create-skill
/skill-manage — search, install and update skills →
Compile a specialized agent from an existing agent, a command, a use case or a manual configuration. Build on your knowledge base rather than a blank prompt.
/compile-agent-from-use
One way to combine the blocks. Your sources and guidelines stay in the Memory Bank; the harness defines how to use them.
Define a product-copywriter persona, a brand-voice skill and a command for reviewing sources, drafting and checking claims.
Your assistant follows the workflow using the product knowledge in the Memory Bank. Your team approves the claims before publication.
Add a reviewer agent, refine the command after feedback and keep the validated workflow as a use case for the next product.
Add a persona, refine an agent, extend a skill or create a command. Test on real tasks, then keep what works.
/optimize-command-with-aikido-agents replaces repetitive command steps with specialist agents without changing the workflow. Verify the behavior on your own cases.
Executable tools connect through your assistant or MCP, including Kimono RAG MCP; creating a skill does not connect a service by itself. The maintenance agents keep the base organized; your team approves domain results.
A harness is not only prompts. The most reliable harnesses hand every exact, repeatable step to a deterministic tool, and keep the model for understanding, choosing and judging. The result is more dependable, and it costs far fewer tokens.
Left to the model
Reading hundreds of files to rename a term, comparing values, rewriting each file, then checking the result: every pass is billed as input and output, and every pass can slip. The longer the job, the more the pile wobbles.
Run by a script
The script scans, changes and counts. The model reads a few lines of JSON, such as how many files changed and which ones failed, and decides what comes next. Its context stays small, so every next step stays quick and cheap.
Commands and agents that build tools
When you create a command or compile an agent, AI-KIDO separates what needs judgement from what has an exact answer, and asks for the exact part as a dependency-free Node.js script. Every later command and agent can reuse it, so the toolbox grows with your harness.
Principle 1
It understands the request, asks the right questions, picks a route and judges what no rule can settle.
Principle 2
Anything with an exact answer runs in a script. By default AI-KIDO writes it in Node.js 24+ (.mjs), with no dependency, one JSON object on output and tests run by node --test. See the tooling standard.
Principle 3
An existing tool, then a generic engine, then a temporary script. A direct edit by the model is kept for a few files or for changes that need judgement.
Principle 4
A tool cannot tell whether an image is right or a claim is true. That part goes back to a reader and to your team, and the report says what was checked and what was not.
There are many more. AI-KIDO ships with skills that bring their own scripts, and you can download others from the AI-KIDO catalog and from trusted external sources with /skill-manage. These examples show the split between what a script does and what stays with the model.
| Task | Done by a script | Left to the model |
|---|---|---|
Create a skill/create-skill, /skill-manage | The skill's own tools are Node.js scripts with tests. Planning is kept apart from approved writes. | Understand the need and write the instructions the skill gives to agents. |
Create an agent/create-persona, /compile-agent-from-use | Once the agent exists, host-sync finds the assistants installed on the machine (by looking at the PATH and the editor extensions, without launching anything) and makes the new agent available in each of them. | Define the role, the scope and the instructions with you. |
Validate a search or analysis plan/validate-search-plan | Checks the header, sections and regular expressions and prints a score. | Decide how to fix the points flagged. |
Download a site as Markdown/download-site | Downloads, converts, refuses to overwrite existing files and publishes nothing if one conversion fails. | Choose the site and the depth, then use the content. |
| Exchange between agents | The orchestrator checks every request and every result against a JSON contract before using it. | Decide the plan and judge the content of the results. |
Changing a name across 200 files is the textbook case for burning tokens. The AI-KIDO refactoring agent follows a rule: compare the routes before touching anything, then take the cheapest deterministic one.
| Route | Use it when |
|---|---|
| 1 · An existing tool | A formatter, a codemod, --fix from a linter or a project script already does the job. |
| 2 · The generic engine | The same literal or regular-expression replacement applies everywhere. The engine runs scan, plan, apply --dry-run, then apply, and rollback if the project's checks fail. |
| 3 · A temporary script | The rule needs logic (a move, a condition per file) but stays deterministic. The agent creates the script, runs it as a dry run, applies it, runs it again to prove it changes nothing the second time, then deletes it. It is never committed. |
| 4 · A direct edit | One to three files, or when each change needs judgement. |
When the work is too large for one context, the agent splits it into wide batches (40 files or 400 KB by default). A batch that needs judgement goes to one sub-agent with exclusive ownership of its files, and only then. Everyone answers with a few lines instead of file lists, logs or diffs:
{"route":"engine","scope":"src/**/*.ts","files":212,"batches":6,"applied":212,"remaining":0,"failed":[],"checks":"ok"}
These are the benefits we expect from the approach, and the refactoring agent is told not to claim savings it has not measured. The only measured token figures on this site come from the Kimono RAG MCP benchmark, on two research tasks; they are not a measured reduction of the full TCO. The illustrations in this section were generated locally with Local Designer, which follows the same split: scripts check the brief, the lock and the colours, and a reader looks at every image.
That split keeps the model's tokens for what needs them, and gives your team results it can trust and check.
Initialize AI-KIDO if needed, then run these commands from your assistant (they are not shell commands).
# Create an expert persona or technical agent
/create-persona
# Turn a recurring task into a command
/create-command
# Create or extend a reusable skill
/create-skill
# Compile an agent from an existing building block or use case
/compile-agent-from-use