agentleFS
markshustmarkshust/hcf/skills/statusline/SKILL.md

statusline

Skill86 starsChanged 54 days agoMITView on GitHub

Install the HCF plan-progress statusline, a colored "Plan: N%" for the plan running in the current checkout. Keeps any existing statusline and appends to it.

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use update-cli-config, migrate-to-skills and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • PandelisZSkill

    update-cli-config

    View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.

    Also in 6 projects that use this

  • 32103210Skill

    migrate-to-skills

    Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use when you want to migrate rules or commands to skills, convert .mdc rules to SKILL.md format, or consolidate commands into the skills directory.

    Also in 6 projects that use this

  • 32103210Skill

    update-cursor-settings

    Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.

    Also in 6 projects that use this

  • 0mlkrizzz655335vSkill

    review-bugbot

    缺陷导向代码审查。用 Bugbot 子代理找 bug。

    Also in 3 projects that use this

  • 0mlkrizzz655335vSkill

    sdk

    Codex SDK 集成开发。用 TypeScript/Python SDK 做 agent 生命周期、流式输出、本地/云端执行等集成。

    Also in 5 projects that use this

  • Tsumugii24Skill

    split-to-prs

    Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.

    Also in 5 projects that use this

  • +2 more from 32103210
  • +1 more from 0mlkrizzz655335v

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read ~/.claude/settings.json (treat a missing file as {}).

    line 26
  2. Very specific:

    After editing, confirm the file is still valid JSON (jq .

    line 36
  3. Very specific:

    If they keep a custom statusline script, they can instead call bash ~/.claude/hcf-statusline.sh "$DIR" from inside it, with DIR being …

    line 44

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Install HCF's plan-progress segment into the user's Claude Code statusline.

While plan-orchestrate runs a plan, the segment shows Plan: N%: completed tasks count fully, and each in-progress task counts by the share of requirements its TDD worker has ticked. It runs red (0%) through yellow (50%) to green (100%), and disappears when no plan is in_progress. It reads the checkout the session is in, so a run inside a worktree shows that worktree's plan.

{skill-base-dir} below is the Base directory for this skill value stated when this skill loaded; ${CLAUDE_PLUGIN_ROOT} is not set in a skill's Bash calls.

Step 1: Install the shim

The plugin lives in a versioned path that changes on every update, so settings must never point into it. Copy the shim to a stable path; it finds the newest installed HCF each time it runs:

cp "{skill-base-dir}/../../hooks/statusline-shim.sh" "$HOME/.claude/hcf-statusline.sh"
chmod +x "$HOME/.claude/hcf-statusline.sh"

Re-running this skill only refreshes the shim; it is safe to repeat.

Step 2: Wire it into ~/.claude/settings.json

Read ~/.claude/settings.json (treat a missing file as {}). Change only the statusLine key; leave every other key as it is. Then follow the first case that matches:

Current statusLineSet it to
command already contains hcf-statuslineNothing to change. Say it is already installed.
Absent{"type": "command", "command": "bash ~/.claude/hcf-statusline.sh --default", "refreshInterval": 10}
A command statuslineKeep its other keys. Set command to bash ~/.claude/hcf-statusline.sh --wrap '<previous command>', escaping each ' in the previous command as '\''. Add "refreshInterval": 10 only if it has none.

--default shows Context: N%, then · Plan: N% while a plan runs. --wrap runs the previous command with the same input and keeps its output: the segment goes right after its Context: N% when the line has one (Context: 15% · Plan: 60%), otherwise at the end of the first line. refreshInterval matters: without it the statusline only redraws on conversation events, and an orchestrator waiting on background workers has none, so the percentage would sit still.

After editing, confirm the file is still valid JSON (jq . ~/.claude/settings.json or python3 -m json.tool ~/.claude/settings.json). If it is not, restore the previous content and stop.

Step 3: Report

Tell the user, briefly:

  • What changed (show the old and new statusLine.command).
  • The segment appears the next time the statusline redraws, and only while a plan is in_progress.
  • To undo, set statusLine.command back to the old value shown.
  • If they keep a custom statusline script, they can instead call bash ~/.claude/hcf-statusline.sh "$DIR" from inside it, with DIR being workspace.current_dir, to place the segment where they like.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.