Describe it. It builds it.
From a written specification — or the code you already have — to tested, committed code, in one continuous Claude Code session.
Developer quick start · Existing code? · Not a programmer? · Showcase · FAQ · Docs
Two minutes, one take, four starts of the same command: the folder is made, the specification goes in, the wizard asks its questions, Claude reads the spec and asks its own, the plan is generated, the loop builds and commits the first task. Everything the model does in between is cut. Watch it as a video.
Telesma is an autonomous development loop for Claude Code.
Put a specification into telesma/spec/, answer the questions Telesma asks about it, and it turns
the spec into a plan and works through that plan task by task — implement, test, commit, report,
next — until the plan is done. Code that already exists gets the same treatment:
telesma --adopt records a test baseline, mines the git history and describes the system module
by module before anything is planned — see below.
It builds on the Ralph loop technique — run an agent in a loop over a plan until the plan is done — and adds what a real project needs around it: a clarification phase, contracts in the plan, state that survives compaction, quality checks and releases. Used in production for over a year before its public release, on projects of up to about two thousand planned tasks. The name is Greek: télesma, “completion, accomplishment” — the word “talisman” comes from it.
flowchart LR
spec["telesma/spec/<br/>your specification"] --> clarify["Clarification<br/>contradictions · assumptions · questions"]
adopt["telesma --adopt<br/>existing code → baseline + AS_BUILT.md"] --> clarify
clarify --> plan["PLAN.md<br/>phases · tasks · acceptance criteria"]
plan --> loop
subgraph loop["One Claude Code session"]
direction LR
next["next task"] --> impl["implement"] --> test["test + quality checks"] --> commit["commit + report"] --> next
end
loop --> phase["phase done:<br/>full suite + tag"]
phase --> release["release proposal<br/>vX.Y.Z — you decide"]
changes["telesma/changes/<br/>change requests"] --> plan
Most Claude automation restarts the CLI for every task, or keeps one long chat that slowly forgets what it was doing. Telesma does neither:
| Claude Code, used by hand | A plain Ralph loop | Telesma | |
|---|---|---|---|
| Where the spec comes from | what you paste into the chat | one prompt file | telesma/spec/, indexed; each task loads only its own lines |
| Before the first line of code | you decide what to ask | nothing | contradictions → assumptions → questions, then a plan |
| Where the state lives | the context window | the prompt file | telesma/state/, updated after every task — a restart resumes at the exact task |
| Definition of done | whatever the model reports | whatever the model reports | green tests plus the task’s acceptance criteria |
| Who enforces the rules | the prompt | the prompt | the launcher (validation, prompt diet) and git hooks (checks) |
| A change after the start | a new chat message | edit the prompt | a file in telesma/changes/ → plan edits or a rework phase |
| Releases | by hand | — | proposed per phase, tagged only after you say yes |
| Code that already exists | you explain it in the chat, again | — | --adopt: a test baseline, a git digest, the system described module by module, then a plan from there |
In short: one continuous session in which Claude drives the loop itself, state in files, not in the context window, and the rules that matter enforced by scripts, not by the model’s memory.
A good fit: a new product or a substantial feature with a written specification (any format —
Markdown, Word, PDF, mockups), built over days or weeks, where you want the work to stay traceable:
the plan, the report, the decisions and every change request live in files in your repository.
Also an existing codebase — written by hand or with an assistant used the ordinary way — that
you want to keep developing with the same discipline: telesma --adopt describes it first, then
the next features are planned on top of what is really there.
Not a fit: a one-off fix or a small script (use Claude Code directly), or a project with no automated tests — Telesma treats green tests as the definition of done, and the launcher stops before the loop until test commands are set.
Cost: Telesma runs on your own Claude Code plan (Pro or Max) or API key. The implementation itself is the bulk of the cost; the launcher keeps the startup prompt small, so the price of a start stays flat as the project grows. For scale, the showcase lists programs of 20–50 tasks that took from under an hour to a few days of loop time, and a product of over a thousand tasks built over half a year. A long autonomous run uses a noticeable part of a plan’s usage limits.
telesma --adopt runs the tests once as the baseline, mines the git
history (reverts, churn, fix hot spots, tag scheme) and lets a survey session write
telesma/spec/AS_BUILT.md: one line per behaviour with the place in the code and whether a test
covers it, plus the conventions found. Nothing in the code changes. → Adoptingnext hands out the task with its spec
fragment and guidelines; done runs the tests and the checks on exactly the files it then
commits, ticks the task and writes the history. A hook refuses git commit, git push and
ticking the plan by hand, so the record of what passed is not written by the one being measured.telesma/changes/ and become plan edits or rework phases.telesma --usage breaks them down by phase,
model, week and release, and every session ends with one line. No telemetry needed.Six programs, with what they took: SHOWCASE.md.
Telesma takes you from an idea to a program on your computer. It asks what you want, writes it down, builds the program, tests it and hands it to you as one file to open with a double-click. After one line pasted during the installation, you never type a command.
1. Install it. One line, copied and pasted. The installer says what it is about to install and asks before each step; at the end there is a Telesma icon on your desktop.
irm https://raw.githubusercontent.com/mario12358/telesma/main/install.ps1 | iex
curl -fsSL https://raw.githubusercontent.com/mario12358/telesma/main/install.sh | bash
It installs the few programs Telesma needs, then Claude Code, and opens your browser to sign in to your Claude account. When a new Telesma version is out, Telesma says so at the start and asks whether to update; the same install line, run again, does it too.
2. Double-click Telesma. A menu opens: a new idea, or one of your programs. Pick a new idea and Telesma interviews you: six plain questions, one at a time, about ten minutes. It reads the answers back, asks about a few details, plans the work and builds. When the program is ready it opens the folder with it and says what to try. Later, the same icon shows your programs with Build on and Something does not work right. Your programs live in a Telesma folder in your home folder. Six programs built this way.
Good to know before you start:
| Required | Optional |
|---|---|
bash (3.2+, the macOS default works) |
gh (GitHub CLI ≥ 2.41) — GitHub integration |
python3 (standard library only) |
gitleaks — wider secret detection in the secrets check |
Claude Code CLI (claude) |
semgrep — OWASP rule packs in the sast check |
git |
pandoc — converts .docx / .pdf / .odt / .rtf files in telesma/spec/ |
Nothing is added to your project’s dependencies. Every start checks the required column (and that
Claude Code is signed in) and says what to install; telesma --doctor [project] runs the same check
on its own. On Windows Telesma runs in Git Bash, which Claude Code needs there too.
1. Install. The same one line as above (macOS, Linux, or PowerShell on Windows). It gets what
is missing, puts Telesma in ~/.telesma and the telesma command in ~/.local/bin (next to
claude), and adds a desktop shortcut you can ignore. The installer puts you on the latest
release, not on the tip of the branch; every start checks for a newer release and offers to move
to it (TELESMA_NO_UPDATE_CHECK=1 turns the check off, TELESMA_FOLLOW_BRANCH=1 follows the
branch instead).
curl -fsSL https://raw.githubusercontent.com/mario12358/telesma/main/install.sh | bash
With Homebrew (macOS, Linux) instead — the same files, updated by brew upgrade telesma (each
start offers it when a newer release is out); no desktop shortcut, and Claude Code, git and
python3 are yours to install (telesma --doctor lists what is missing):
brew install mario12358/telesma/telesma
Coming from the one-line installer? Remove its command first (rm ~/.local/bin/telesma): it
comes earlier in the PATH and would keep starting the old clone.
2. Point it at a project. You always run the same command; Telesma reads the project’s state and does the next right thing:
telesma /path/to/project
| Run | What happens |
|---|---|
| 1st | creates telesma/spec/ with one template and prints what goes where |
| 2nd | a spec is there → creates telesma/config.md and runs the setup wizard (ENTER accepts each recommended answer) |
| 3rd | clarification: contradictions → assumptions → questions, then telesma/state/PLAN.md |
| 4th | the mode menu → the autonomous loop |
The wizard and the clarification each end by offering to go straight on, so in practice it is one
or two starts. Skip the menu with telesma /path/to/project -m 1; add -i to watch and answer.
Just an idea, no spec? telesma --new /path/to/project interviews you and writes
telesma/spec/ itself (the idea in your words, numbered requirements with “when …, then …”
checks, the user flows, the technology), then runs the setup. It sets Experience: beginner
(plain words); --setup switches it back.
Code that already exists? Start with telesma --adopt /path/to/project instead — the
section Existing code? Adopt it walks through it.
3. Write the specification. Everything Telesma reads and writes in your project lives in one
telesma/ directory:
your-project/
├── telesma/
│ ├── config.md configuration (tests, git, integrations, checks, judge, telemetry)
│ ├── spec/ your specification — frozen after clarification
│ ├── changes/ change requests after the freeze (+ processed/)
│ ├── state/ written by Telesma: PLAN.md, REPORT.md, PROJECT_CONTEXT.md, SPEC_INDEX.md, logs
│ ├── guidelines/ technology guidelines (copied from Telesma, your edits win)
│ ├── checks/ quality-check modules (only with checks enabled)
│ └── artifacts/ screenshots and recordings (only with visual artifacts enabled)
├── .claude/ Claude Code settings and the permission-judge hook (Claude Code looks for them here)
└── docs/ RUNBOOK.md and test-scenarios/ — documentation of your project, not of Telesma
telesma/spec/TECHNICAL_GUIDELINES.md — fill in only where you depart from the defaults in
telesma/guidelines/ (a mandated stack, hosting, compliance, SLA). Left as it is, the defaults
apply; delete the TELESMA_SPEC_TEMPLATE marker from its first line once you fill something in.telesma/spec/ux_ui/.4. The setup wizard asks one question per module — language and experience, profile
(minimal / recommended / full), the stack and test commands it detected from your manifests,
the permission judge, the quality-check tier — and writes telesma/config.md, where every key is
commented. Change anything later with telesma --setup or by editing the file.
→ Configuration
Telesma used to start only from a specification and an empty directory. Since 1.3 it takes over code it did not write — a project built by hand, or with Claude Code, Codex or Cursor used the ordinary way — without inventing a history for it:
telesma --adopt /path/to/project # preconditions, the setup wizard, Adopted: yes
telesma /path/to/project # the baseline and the survey; add -i to watch
git init and a first commit, after putting anything that looks like a secret
or build output into .gitignore), a clean tree. The commit it finds becomes Adopted at in
telesma/config.md — the state the survey describes. Then the setup wizard, as on any first
start; the test command matters most here.telesma/state/REPORT.md as the baseline — from then on a test that was already red is an
inherited failure, not a regression; runs the quality checks once over the whole repository
when they are on (findings listed, nothing blocked); mines the git history into a short digest —
tag scheme, reverts, churn, the files with the most fix commits, dependency changes, test ratio,
never an author or a commit subject; and writes ### Phase 0: Existing system into the plan,
one task per part of the code.telesma/spec/AS_BUILT.md: one
When …, then … line per behaviour, with the place in the code and a tag — [verified by
test: …] or [inferred] — plus open questions for what the code does not explain. It fills
PROJECT_CONTEXT.md (stack, architecture, decisions and pitfalls visible in the code and the
history) and records the conventions it found — including what your own CLAUDE.md says — in
TECHNICAL_GUIDELINES.md. It may write only inside telesma/; a write anywhere else is
refused by the session’s permissions. It commits after every part, so an interrupted survey
continues at the next start.AS_BUILT.md where the survey guessed wrong, answer the
open questions in place or leave them, put a file into telesma/spec/ with what should happen
next — and start as usual. The clarification indexes everything, keeps Phase 0 as it is and
plans from Phase 1; a red baseline or no tests makes it propose a safety net of
characterisation tests first. Code review (-m 3) and bugfix (-m 2) already work from the
survey alone, before any plan exists.Why no task history is rebuilt from the commits, and what the first version deliberately leaves out: docs/ARCHITECTURE.md §21. The user’s side in full: docs/WORKFLOW.md §19.
telesma/spec/ with line ranges and a
quality assessment, then asks — few questions for a small, well-written spec, many for a thin one.
An adopted project gets here after the survey, with AS_BUILT.md among the spec files.telesma/state/PLAN.md — phases, tasks
with dependencies, acceptance criteria, and a coverage table mapping every spec section to tasks.next gives the task with its spec fragment and guidelines → the model implements
and verifies the acceptance criteria → done runs the tests and checks, ticks the task, writes
the history row and commits. A session budget (refusals, attempts, tasks, hours) stops a loop
that goes in circles; going on is your answer at the next start.docs/RUNBOOK.md and TELESMA COMPLETE. Stuck → TELESMA BLOCKED
with a concrete question, saved for the next start. The session stays open; everything you say
from then on is logged to telesma/state/DECISIONS.md.Details, including the plan format, change requests and releases: docs/WORKFLOW.md.
After clarification the launcher asks for a mode, or you pass -m:
| Mode | Name | What it does | Interactive |
|---|---|---|---|
| 1 | autonomous (default) | The loop over telesma/state/PLAN.md |
optional (-i) |
| 2 | bugfix | Chat: you report a bug → diagnosis → proposal → your OK → fix → test → commit → telesma/state/BUGFIXES.md |
always |
| 3 | review | Chat: code review of a chosen scope against your spec, guidelines and decisions → telesma/state/REVIEWS.md |
always |
| 4 | artifacts | Backfills missing screenshots and flow recordings; idempotent, never edits the plan | optional (-i) |
Other launcher commands:
telesma --setup /path/to/project # configuration menu: tests, judge, checks, integrations, artifacts, language
telesma --repair /path/to/project # repair state files from git history, then exit
telesma --integrations /path/to/project # only the integrations wizard on an existing project
telesma --sync-specky /path/to/project # pull Specky changes into telesma/changes/, no loop
telesma --doctor [project] # what this machine still needs
Telesma has no integration by default: it commits to the current branch and never pushes. An
integration is a separate instruction module, added to the prompt only when telesma/config.md
names it.
gh pr checks
before letting a merge through, pushes go only to task branches, and release tags are never pushed.Full reference: docs/INTEGRATIONS.md.
~/.ssh or ~/.aws, whatever the command claims to be. A refused
command is never retried outside it. On by default for new projects (## Sandbox in the config).rm -rf,
sudo, git push, writes to .claude/ or telesma/config.md) and your own “always ask” list
always reach you; only the gray zone goes to an optional model, and anything but a clear ALLOW
still asks. → docs/PERMISSION_JUDGE.mdtelesma/config.md is committed, and it names
commands Telesma runs (tests, linters), the permission mode and the servers it talks to. The
first start on a machine — and any start after those values changed — shows them and asks once;
a cloned project cannot run a command or pick a permission mode you have not seen.telesma/state/CHECK_EXCEPTIONS.md. → docs/CHECKS.md🤖 Generated with Telesma; no model name, tool name or session link.Language in telesma/config.md (default en) sets the language Telesma talks to you in and
writes prose in — report entries, decisions, test scenarios; any code works, and structural tokens
stay English because scripts parse them. Experience: beginner switches to plain words, one
question at a time with a proposed answer, and progress in one sentence — the same loop, prompts
and files. telesma --new sets it; --setup changes it. → docs/CONFIGURATION.md
Can I use it on an existing codebase?
Yes: telesma --adopt /path/to/project. Telesma does not reconstruct a task history from commits
(nothing would read it); it records a test baseline, mines the git history into a short digest,
and a survey session writes telesma/spec/AS_BUILT.md — the system as found, one line per
behaviour with the place in the code and whether a test covers it — plus the project context. You
correct that file, add what should happen next, and the clarification plans from Phase 1; code
review and bugfix work right after the survey. → docs/WORKFLOW.md §19
Does it work with an API key instead of a Pro or Max plan?
Yes. Claude Code runs on either; with ANTHROPIC_API_KEY set, the sign-in check is skipped.
Can I stop it and continue tomorrow?
Yes. State lives in telesma/state/ and is updated after every task; the next start resumes at
the exact task. telesma --repair rebuilds damaged state files from git history.
What if my project has no tests yet? For a new project the plan’s first tasks set up the test harness, and the first start after the plan proposes the test commands. For a project that cannot have automated tests, Telesma is the wrong tool: green tests are its definition of done.
Does it push to my remote? Not by default: it commits to the current branch and never pushes. With the GitHub integration it pushes task branches only; release tags are never pushed by Telesma.
Can I use a model other than Claude?
No. Telesma is a layer on top of Claude Code and uses its session, hooks and /compact. The
optional permission judge can use a separate, cheaper model for its gray zone.
How is this different from Claude Code’s own plan mode or subagents? Those plan and act inside one context window. Telesma keeps the plan, the report and the decisions in files, validates them with scripts before every start, and makes green tests plus acceptance criteria the definition of done — so a project survives compactions, restarts and weeks of work.
| Document | Contents |
|---|---|
| SHOWCASE.md | Programs built with Telesma, and how to add yours |
| docs/WORKFLOW.md | Clarification, plan format and tags, modes, changes, releases, monitoring, adopting existing code |
| docs/CONFIGURATION.md | The setup wizard, every telesma/config.md section and key, launcher flags |
| docs/STATE_FILES.md | Files Telesma creates in your project, rotation, prompt diet, --repair |
| docs/TROUBLESHOOTING.md | Common problems and what to do |
| docs/INTEGRATIONS.md | GitHub and Specky integrations in detail |
| docs/PERMISSION_JUDGE.md | The permission judge: layers, variants, evaluation |
| docs/CHECKS.md | Quality checks, attack-surface map, PR status |
| docs/TELEMETRY.md | Optional self-hosted quality telemetry |
| docs/ARCHITECTURE.md | How the launcher, instructions, hooks and tools fit together |
| benchmark/README.md | Frozen benchmark for comparing Telesma versions |
| CONTRIBUTING.md | How to contribute, conventions, self-tests |
| SECURITY.md | Reporting vulnerabilities |
| CHANGELOG.md | Release history |
MIT — see LICENSE.
Mariusz Iskra — mariusz.iskra@gmail.com Commercial inquiries: Sparkit — biuro@sparkit.pl