Using an agent
Install the codetik skill and let Claude Code, Codex or Cursor build, check and publish your tik.
Install the skill
The CLI ships an agent skill: everything an agent needs to build, check and publish a tik, in the Agent Skills format that Claude Code, Codex and Cursor read.
$ codetik skillIt asks which agents to install for, with the ones on your machine already ticked, and copies the skill into each one's skills folder. codetik new offers this the first time you scaffold a tik.
| Agent | Installed to | With --project |
|---|---|---|
| Claude Code | ~/.claude/skills | <tik>/.claude/skills |
| Codex | ~/.codex/skills | <tik>/.agents/skills |
| Cursor | ~/.cursor/skills | <tik>/.cursor/skills |
--agent claude,codex,cursoror--agent allpicks without asking.--projectputs the skill in the tik folder, for a team that commits it.--pathprints a plain copy for any other agent to read.--removetakes it out again.
The skill is refreshed on every codetik skill and codetik new, so it stays in step with the CLI. Claude Code sees a newly created skills folder from its next session.
What the agent knows
- Every command as an agent drives it:
--jsonoutput,--no-input, exit codes, and what to confirm with you first. - The
window.tikAPI, the layout and touch rules, the libraries, and the performance rules for game loops and animated scenes. - The backend: how to write a module, its data rules and the security rules every function must follow.
Each tik also carries its own short brief, AGENTS.md (with a CLAUDE.md that points at it), written by codetik new.
Ask it
In Claude Code, type /codetik and what you want. Other agents pick the skill up from your words: "publish this tik", "what ideas are there".
| Ask | The agent |
|---|---|
/codetik | Says where you are and what is missing before the tik can go live |
/codetik ideas | Offers Codetik's starting ideas, then builds the one you pick |
/codetik new snake | Scaffolds a tik and starts building |
/codetik init | Ports the project in this folder: sets it up, fixes what does not fit |
/codetik dev | Starts the dev server in its own process and checks its changes there |
/codetik check | Runs the checks and fixes what they find |
/codetik backend on | Turns on the realtime backend and writes the module |
/codetik publish | Publishes a draft; publish live releases after asking you |
/codetik issues | Fixes the bugs and performance problems users hit |
| Anything else | Treats it as a brief and builds it |
Checking its own work
During codetik dev the agent can open your tik in a headless browser: it takes screenshots, reads console errors, taps and swipes, and measures CPU and frame rate before it asks you to look. Nothing opens on your screen. It asks once before using the browser, and before downloading Chromium when none is installed. A no is remembered.
What stays with you
- Signing in.
codetik loginasks for your API key, so you run it yourself. - Releases. The agent confirms the account, the category and the visibility before
publish --live. - Deletions. It asks before applying file deletions from a release check, before removing a tik and before resetting a backend's data.