# Run a repo report

A report is a ready-made agent you run by name, with no prompt to write: it reads the repo,
writes a markdown report and attaches it to the ticket. Run one once, or on a schedule so a
fresh report lands every week.

## Before you begin

- A working directory: the repo the report reads.
- For **PR triage**, a GitHub `origin` and `gh` signed in.

## The reports

| Report | Skill | Gathers | Suggested schedule |
| --- | --- | --- | --- |
| **Git health report** | `git-health` | Stale and unmerged branches, large files, commit cadence | Mondays 09:00 |
| **Security scan** | `security-review` | Secrets, injection, auth and other risky patterns in the pending changes | Mondays 09:00 |
| **PR triage** | `pr-triage` | Open pull requests, review backlog, staleness, a suggested priority order | Every day 09:00 |
| **Dependency audit** | `dependency-audit` | Outdated and vulnerable dependencies (uv, pip, npm) | Mondays 09:00 |
| **Repo digest** | `repo-digest` | An architecture overview and recent activity | Fridays 16:00 |

Every report is read-only: it writes nothing to the repo, merges nothing and upgrades nothing.

## Run a report once

1. Click **Create**.
2. Under **Report library**, click **Start from a report template...** and pick a report.
3. Click **Run once**. It fills in the title and description and sets **Type** to **Command
   (runs a /skill)** with the report's skill.
4. Set the **Working directory** and click **Create**.

**Result:** the agent runs the skill and the report is attached to the ticket under
**Artifacts**.

## Run a report on a schedule

1. Click **Create**, then pick a report under **Report library**.
2. Click **Schedule**. **Type** becomes **Loop (runs on a cron schedule)**, with the report's
   suggested schedule filled in.
3. Adjust the schedule, set the **Working directory** and click **Create**.

**Result:** a Loop that runs the report at each scheduled time. Each run is a ticket of its own
in the Loop's history, with a fresh report attached. Change the times in the Loop's
**Schedule** tab ([Run a Loop](run-loop.md)).

## Run any skill as a command

A report is one case of a command ticket. To run any other skill:

1. Click **Create** and set **Type** to **Command (runs a /skill)**.
2. Under **Skill / command**, pick a skill, or **Custom skill name...** and type its name.

The list holds the skills this machine has: the board's own, your `~/.claude/skills`, the
repo's `.claude/skills` and commands, plugin skills and the Claude Code built-ins.

**Result:** the agent runs that one skill. Command tickets run on Claude Code: Codex and Cursor
cannot expand a slash command, so a command ticket on one of their models is refused before it
starts.

## How skills reach every engine

A skill lives in a repo's `.claude/skills`, which an agent only sees when it runs in that repo.
Most tickets run in a worktree of another repo, so the board installs its skills where every
engine looks, at startup and whenever you ask:

1. Each skill is linked into an index, `~/.rev0/skills/<name>`.
2. The index is linked into each engine's user directory: `~/.claude/skills` (Claude Code) and
   `~/.agents/skills` (Codex and Gemini). Cursor reads no skills.

They are links, so editing a `SKILL.md` applies to the next run with no reinstall. A skill you
wrote by hand in one of those directories is never overwritten.

To check and repair it:

- At the bottom of **Settings > Engine accounts**, **Skills per engine** lists every skill with where it came from and a mark
  per engine it reaches. **Refresh** reads it again. A warning names any skill the board's own
  instructions rely on that an engine cannot reach.
- From a terminal:

  ```bash
  rev0 skills sync       # install or repair the links; safe to run again
  rev0 skills reach      # one line per skill, and a PROBLEM line for each gap
  rev0 skills uninstall  # remove every link the board made
  ```

**Result:** every engine that reads skills finds the board's.

## If something goes wrong

### This is a command ticket but no command is set

The ticket's type is Command but it names no skill. Edit it and pick one under **Skill /
command**.

### PROBLEM: the skill is unreachable

`rev0 skills reach` found an engine that cannot see a skill. Run `rev0 skills sync`, or restart
the board. If a real directory of the same name is in the way, the board leaves it alone:
rename or remove it yourself.

## Related

- [Run a Loop](run-loop.md), for the schedule a scheduled report runs on.
- [Find and reuse what agents made](artifacts.md), for the reports once they are written.
- [Command line](../reference/cli.md), for every `rev0` command.
