Docs›Get started

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.

Shell
$ codetik skill

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

AgentInstalled toWith --project
Claude Code~/.claude/skills<tik>/.claude/skills
Codex~/.codex/skills<tik>/.agents/skills
Cursor~/.cursor/skills<tik>/.cursor/skills
  • --agent claude,codex,cursor or --agent all picks without asking.
  • --project puts the skill in the tik folder, for a team that commits it.
  • --path prints a plain copy for any other agent to read.
  • --remove takes 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: --json output, --no-input, exit codes, and what to confirm with you first.
  • The window.tik API, 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".

AskThe agent
/codetikSays where you are and what is missing before the tik can go live
/codetik ideasOffers Codetik's starting ideas, then builds the one you pick
/codetik new snakeScaffolds a tik and starts building
/codetik initPorts the project in this folder: sets it up, fixes what does not fit
/codetik devStarts the dev server in its own process and checks its changes there
/codetik checkRuns the checks and fixes what they find
/codetik backend onTurns on the realtime backend and writes the module
/codetik publishPublishes a draft; publish live releases after asking you
/codetik issuesFixes the bugs and performance problems users hit
Anything elseTreats 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 login asks 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.