agent-skills/clawflow/SKILL.md
Use the `clawflow` CLI to manage GitHub/GitLab projects locally: view and operate on issues, PRs, and labels without leaving the terminal. Trigger on ANY of: user mentions 'clawflow' or 'ClawFlow'; user asks to list/create/view/comment on issues or PRs; user asks to manage labels; user asks to add/manage repos; user mentions local git project operations or VCS management.
npx skillsauth add zhoushoujianwork/clawflow clawflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A CLI for managing GitHub/GitLab projects from your local terminal. View issues, create PRs, manage labels, and operate on multiple repos without context switching.
Before invoking any clawflow subcommand, run these two checks. If either fails, surface the exact command to the user — do not guess or bypass.
Run command -v clawflow. If not found, the user hasn't installed it yet. Ask them to run:
curl -fsSL https://raw.githubusercontent.com/zhoushoujianwork/clawflow/main/get.sh | bash
Supports macOS (arm64/amd64) and Linux (amd64/arm64). The installer drops the binary into /usr/local/bin (or ~/.local/bin if no write perm) and creates ~/.clawflow/config/.
Run clawflow config show. The output lists GH Token: and GitLab Token: — each either has a masked value like set (***abcd) or is unset.
If the GitHub token is unset (and the user works with GitHub repos), ask them to run:
clawflow config set-token <ghp_...> # scope: repo, read:org
For GitLab:
clawflow config set-gitlab-token <glpat_...> # scope: api
Env vars GH_TOKEN / GITLAB_TOKEN take priority over the stored file. Tokens live in ~/.clawflow/config/credentials.yaml (mode 0600).
clawflow issue list / create / view / comment / close --repo <R>
clawflow issue search "<query>" --repo <R> [--state all|open|closed] # title+body search
clawflow issue search "<query>" --project <name> # fan-out across project repos
clawflow pr list / create / view / comment / merge --repo <R>
clawflow label add / remove --repo <R> --issue <N> --label <L>
issue search is the historical-context lookup: every change in a clawflow-managed
project goes through an issue, so past issues (open + closed) are the project's
decision archive. Before doing analysis on a new issue, search for related ones —
duplicates, prior decisions, and related code-area history are usually the
strongest signal. Pass --json for structured output.
clawflow repo add <owner/repo | URL | local path>
clawflow repo list / enable / disable / remove
clawflow label init <owner/repo> # create standard labels in repo
clawflow run # run operators on enabled repos
clawflow run --repo owner/repo --issue N # target a single issue
clawflow operators list # see registered operators
The operator pipeline is for automated issue evaluation and PR generation. Most users can ignore this feature.
clawflow repo add owner/repo
clawflow issue list --repo owner/repo
clawflow issue view --repo owner/repo --issue 42
clawflow issue comment --repo owner/repo --issue 42 --body "Working on this"
clawflow pr create --repo owner/repo --title "Fix bug" --body "Description"
clawflow pr list --repo owner/repo --state open
clawflow pr view --repo owner/repo --pr 15
clawflow label init owner/repo # create standard labels
clawflow label add --repo owner/repo --issue 42 --label bug
clawflow label remove --repo owner/repo --issue 42 --label wontfix
For automated issue evaluation and PR generation, ClawFlow supports an operator pipeline:
bug or featclawflow run triggers the matching operatoragent-evaluatedready-for-agent to approve implementationclawflow run creates a fix PR and adds agent-implementedMost users won't need this feature for day-to-day git project management.
# GitHub
clawflow config set-token <ghp_...>
# or export GH_TOKEN=<ghp_...>
# GitLab
clawflow config set-gitlab-token <glpat_...>
# or export GITLAB_TOKEN=<glpat_...>
Config and repos are stored in ~/.clawflow/config/config.yaml
clawflow commands for issue/PR/label operations to maintain consistencygit directly for local branch and commit workclawflow <cmd> --help when unsure about command flagsFor continuous health monitoring, use per-project automation rather than a Claude
Code skill — it runs inside clawflow run and doesn't require Claude Code to be
open. Enable per project:
clawflow project automation enable <project> --cooldown 30
When on, every clawflow run pass wakes the project manager, which can file new
issues to schedule work. See the project's automation section in the dashboard
for the toggle and live status.
development
Check whether all sub-issues of a tracking issue are complete via GitHub native sub-issue API; emits agent-closed when done or agent-watching while pending.
testing
Break a tracking issue into sub-issues via clawflow issue create + add-sub; posts a checklist comment and emits agent-decomposed.
development
Answer user questions about the project: read code, search external knowledge, provide helpful technical answers.
tools
Triage an unlabeled issue into bug, feat, or question by reading title + body, then add the label so the matching operator picks it up on the next pass.