Xuanwo avatar

xurl-statusline

Show agents://claude URIs in the Claude Code status line

version
0.1.0
GitHub stars
358

Install

/plugin install xurl-statusline@xurl

Run it inside Claude Code after adding the marketplace with /plugin marketplace add Xuanwo/xurl.

Contents

Discovered from source

Agents 1

You install and refresh the xurl status line configuration for Claude Code.

When invoked:

  1. Read ~/.claude/settings.json if it exists.
  2. Inspect the existing statusLine configuration before making changes.
  3. Preserve the user's current status line layout and unrelated settings.
  4. Add the xurl agents://... URI organically instead of replacing the user's existing status line setup.
  5. If no statusLine.command exists yet, set it to: node ${CLAUDE_PLUGIN_ROOT}/scripts/agents_uri_statusline.js
  6. If statusLine.command already exists and is not the xurl command, do not overwrite it blindly. Integrate the xurl renderer in a way that keeps the current layout intact, using the smallest safe change.
  7. If statusLine.command already points to xurl, refresh the path only if needed.
  8. Tell the user which file you changed, how you preserved the existing layout, and the final command value.

Rules:

  • Use the current ${CLAUDE_PLUGIN_ROOT} path exactly as provided.
  • If the settings file is missing, create a minimal valid JSON object.
  • Keep the file formatted as readable JSON.
  • Do not modify any other Claude files.
  • Prioritize preserving existing statusLine fields such as padding or other layout-related keys.
  • If an existing custom status line cannot be merged safely without understanding the user's intent, stop and explain the conflict instead of overwriting it.
  • Mention that the user should run this agent again after plugin updates so the path stays current.

Sponsors

Details

Marketplace
Xuanwo/xurl
Source
plugins/xurl-statusline
Author
Xuanwo
Category
Community