Agents & CLI / Install with your agent

Install Tellfix with your coding agent

Paste the prompt into Claude Code, Codex or any coding agent that can run commands in your repository. It reads this page and does what it says: installs the Tellfix CLI, signs you in through your browser, picks or makes a project and adds the widget to your app. You approve the sign-in yourself, and nothing is committed unless you say so.

The steps below are written to the agent.

Paste into Claude Code, Codex or Grok Build

Add Tellfix bug reports to this app. Read https://tellfix.app/agents/install.md and follow its steps.

Before you start

You are adding the Tellfix feedback widget to the web app in this repository, so its users can report bugs and request features. Do the steps in order. Tell the person what you are about to do at each one, and stop to ask them where a step says to.

  • Find the framework (from package.json, Gemfile, composer.json, requirements.txt or the like) and the file every page is rendered through: the root layout, the main template or index.html.
  • Find the origins the app runs at: its local dev server, such as http://localhost:3000, and its production address. If the repository doesn't say what the production address is, ask.

Install the CLI

Run tellfix --version. If the command is not found, install it. It is one file, needs no Node and no root, and goes in ~/.tellfix/bin:

curl -fsSL https://tellfix.app/install.sh | sh

On Windows, in PowerShell: irm https://tellfix.app/install.ps1 | iex. It installs %LOCALAPPDATA%\tellfix\bin\tellfix.exe and puts that folder on the PATH of new terminals. Elsewhere, until ~/.tellfix/bin is on the PATH, run the CLI by its full path, ~/.tellfix/bin/tellfix.

Sign in

Run tellfix whoami. Exit code 0 means someone is signed in: go on. Exit code 4 means nobody is.

To sign in, run tellfix login. It prints a link and a short code, then waits up to ten minutes. Show the person both and ask them to open the link, check the code matches and approve it. If your shell can't wait that long, ask them to run tellfix login in their own terminal and tell you when it's done. The approval is theirs to give: never try to give it yourself.

Where nobody can open a browser, as in CI or a sandbox, the person can make a token in the dashboard (account menu, API tokens) and set TELLFIX_TOKEN to it instead.

Pick or make the project

A project holds one app's reports, and its key goes in the widget's tag. See what the person has already:

tellfix project list --json

If one of them is clearly this app, use its key. If none is, ask the person whether to make one, then:

tellfix api /api/projects --data '{"name":"Acme Web","allowedOrigins":["https://acme.example","http://localhost:3000"]}'

Use the app's name and its origins. An origin is a scheme and a host, with a port if it has one, and no path or trailing slash. Reports are taken only from the origins listed; leave allowedOrigins out to take them from anywhere. The answer is the new project, with its key.

If the answer is HTTP 402, the person has no plan yet. Ask them to start one at tellfix.app/pricing, then run the command again.

Add the widget

Open the guide for the app's framework and follow it, with the project's key in place of pk_your_project_key. Each guide is also plain Markdown, at its address with .md on the end:

FrameworkGuide
Next.jshttps://tellfix.app/install/nextjs.md
Reacthttps://tellfix.app/install/react.md
React Router and Remixhttps://tellfix.app/install/react-router.md
Vuehttps://tellfix.app/install/vue.md
Nuxthttps://tellfix.app/install/nuxt.md
SvelteKithttps://tellfix.app/install/sveltekit.md
Astrohttps://tellfix.app/install/astro.md
Angularhttps://tellfix.app/install/angular.md
Ruby on Railshttps://tellfix.app/install/rails.md
Laravelhttps://tellfix.app/install/laravel.md
Djangohttps://tellfix.app/install/django.md
WordPresshttps://tellfix.app/install/wordpress.md
Plain HTMLhttps://tellfix.app/install/html.md

For anything else, the script tag goes once on every page, just before </body>:

<script src="https://app.tellfix.app/widget.js" data-project="pk_your_project_key" data-endpoint="https://app.tellfix.app/ingest"></script>

If the app has signed-in users, do the guide's step that tells Tellfix who they are, so every report says who sent it.

Teach agents to read the reports

So that you, and any agent working in this repository later, can read and fix what users send, install the Tellfix skill into the repository:

tellfix skill install --project

It writes the skill to .claude/skills/tellfix/ for Claude Code and .agents/skills/tellfix/, the folder Codex, Grok Build, Gemini CLI, Copilot, Antigravity and most other agents read. If you are Kiro, run tellfix skill install --project --agent claude,agents,kiro instead: the Kiro editor reads only .kiro/skills/. Ask the person whether to commit them.

Check it works

  • Start the app and open it. A feedback button sits in the bottom-right corner.
  • Ask the person to send a test report from it. Send one yourself only if they ask you to.
  • Run tellfix issue list --limit 1. The report is there.

Then tell the person what you changed and the project's key, and that reports arrive in their inbox at app.tellfix.app, where they can also connect GitHub, Azure DevOps or Slack.

Rules

  • The project key is public by design: it ships in the page's HTML. A token is not. Never print a TELLFIX_TOKEN, put it in code or commit it, and never read the CLI's credentials.json.
  • Don't commit, push or deploy unless the person asks you to.

Try it before you install it

This page runs the real widget. Report something on it and it lands in our inbox, the way your users’ reports will land in yours.

Get started