ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 ASRagab

pr-pane

open pull request に1キーでアクセスできる Claude Code mod。**Claude Code 専用**で、バージョン 2.1.287 以降が必要です。

ASRagab@ASRagab

ASRagab/asragab-claude-marketplace/tree/main/plugins/pr-pane

翻訳済み

この mod について

/prs で、リポジトリをまたいだ open PR の一覧をプロンプト上部のバンドに表示します。PR の説明全体が状態色を持ちます。赤の ✗ は未解決コメントまたは変更要求、青の ✓ は承認済み、オレンジの ● は review 待ち、薄い文字の `○ は draft です。Draft が最優先で、未解決の review thread は承認より優先されます。解決済みの thread や過去のコメントは PR を赤くしません。

Ctrl+X、Tab の順に押すとバンドにフォーカスします。矢印キーまたは Tab でコントロール間を移動し、Enter でブラウザに PR を開きます(macOS は open、Linux は xdg-open)。バンドにフォーカスがある間は、r でリポジトリ順、s で状態順、d で最終更新日順に並べ替えます。一度に有効なソートモードは1つだけです。リポジトリ/状態のグループは更新の新しい順になります。デフォルトの状態順は feedback、approved、needs review、draft です。1ページに最大 8 行を表示し、p/n でページを切り替えます。他のバンド出力で描画があふれた場合も、矢印キーでスクロールでき、Tab のフォーカス移動は変わりません。Esc でプロンプトに戻り、バンドは表示したままにします。/prs で非表示にできます。バンドは背景色を設定せず、survey 中は場所を譲ります。

PR の内容の上下に薄い水平線を置いて視覚的に分離し、デフォルトの背景は保ちます。小さいバンドではページサイズを縮め、線のためのスペースを残します。

設定は不要です。GitHub ユーザーは現在 gh でログインしているユーザーです。バックグラウンドのポーリングは起動時、60 秒ごと、バンドを表示したときに実行されます。更新は通常、1 分に API の遅延を加えた時間内に表示されます。ヘッダーには open PR の数と最後に成功した更新時刻が表示されます。更新に失敗すると、最後に正常だった一覧を残し、バンドにエラーを表示します。gh がないかログアウト中なら、`gh auth login を実行するよう伝えます。一覧には最後に更新された 100 件の PR が含まれ、それ以上ある場合はヘッダーに正確な合計を表示します。

# Run the mod's tests (no network, no API key)
claude plugin test plugins/pr-pane

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add ASRagab/asragab-claude-marketplace
claude plugin install pr-pane
原文 / README

asragab-claude-marketplace

A Claude Code plugin marketplace containing plugins for session search/analytics, skill evaluation, Claude Code mod development, and a PR picker mod.

Plugins

| Plugin | Version | Description | |--------|---------|-------------| | cass | 0.3.0 | Cross-agent session search, context, analytics, export, learnings, and session resume powered by CASS CLI | | skill-eval | 1.0.0 | Automated skill/prompt/tool evaluation and improvement via session log analysis and autoresearch optimization | | mod-forge | 0.2.0 | Build and verify Claude Code mods in isolated child processes, never in the live session (Claude Code 2.1.287+) | | pr-pane | 0.2.0 | /prs toggles a band above the prompt with your open GitHub PRs and review state; arrows and Enter open one in the browser (Claude Code 2.1.287+, needs gh) |

Installation

1. Add the marketplace

claude plugin marketplace add https://github.com/ASRagab/asragab-claude-marketplace

2. Install plugins

# Install by name (use plugin@marketplace to disambiguate)
claude plugin install cass
claude plugin install skill-eval
claude plugin install mod-forge
claude plugin install pr-pane

Prerequisites

  • Claude Code CLI
  • Bun runtime (required by skill-eval scripts)
    • To run bun run test, first run bun install in plugins/skill-eval/scripts (installs @anthropic-ai/sdk).
  • GitHub CLI (gh), logged in with gh auth login (required by pr-pane)
  • CASS CLI v0.3.0+ (required by cass plugin)

cass

Cross-agent session search, context loading, token analytics, session export, session resume, and learning synthesis powered by CASS (Coding Agent Session Search). Searches across Claude Code, Codex, Cursor, Gemini CLI, Copilot, and 14+ other agents.

Recipes default to token-efficient output (--robot-format toon --fields summary --max-tokens 1600). The plugin's SessionStart hook surfaces the CASS index health, recommended next action, and a CASS_OUTPUT_FORMAT=toon advisory.

Skills

/cass:session-search

Search across all indexed coding agent sessions. Supports lexical (BM25), semantic (vector), and hybrid search modes.

cass search "authentication flow" --mode hybrid --robot-format toon --fields summary --max-tokens 1600 --limit 10
cass search "error" --days 30 --aggregate agent --limit 1 --max-content-length 100 --robot-format toon

/cass:session-context

Load relevant past session context for the current task, file, or project.

cass sessions --current --robot-format toon
cass timeline --since 7d --json --group-by day

/cass:session-analytics

Analyze session history for usage patterns, token consumption, and tool efficiency.

cass analytics tokens --days 7 --group-by day --json
cass analytics tools --limit 20 --json

/cass:session-export

Export sessions to markdown, text, JSON, HTML, or self-contained encrypted HTML.

cass export <session_path> -o conversation.md
cass export-html <session_path> --encrypt --password "secret" --filename report.html

/cass:session-learnings

Extract patterns, recurring issues, and actionable lessons from past sessions.

cass search "error fix bug" --mode hybrid --robot-format toon --fields summary --max-tokens 1600 --limit 20
cass analytics tools --limit 20 --json

/cass:session-resume ★ NEW v0.3.0

Resolve a session into a ready-to-run launch command for its native harness (Claude Code, Codex, OpenCode, pi_agent, Gemini). Triggered by phrases like "resume that session", "pick up where I left off", "continue the X session".

cass resume "$(cass sessions --current --json | jq -r '.sessions[0].path')" --json

/cass:session-maintenance

Diagnose, repair, and maintain CASS installation, index, analytics, and remote sources.

cass health --json
cass doctor --fix
cass index --full --json

skill-eval

A four-stage pipeline for identifying friction in coding agent sessions and iteratively optimizing skills, prompts, and tools. Inspired by Karpathy's autoresearch pattern.

Skills

The stages run sequentially — each consumes the output of the previous stage.

/skill-eval:transcript-extract (M1)

Extract structured events from Claude Code session transcripts into JSONL.

bun scripts/transcript-extract.ts --since 7d -o events.jsonl

/skill-eval:signal-classify (M2)

Classify extracted events into friction, success, noise, and neutral categories using rule-based heuristics. No LLM calls required.

bun scripts/signal-classify.ts -i events.jsonl -o classified.jsonl
bun scripts/signal-classify.ts -i events.jsonl --stats

/skill-eval:target-identify (M3)

Use LLM-as-judge to rank friction clusters by frequency, severity, and improvability.

bun scripts/target-identify.ts -i classified.jsonl --top 5 -o targets.jsonl

Requires ANTHROPIC_API_KEY environment variable.

/skill-eval:autoresearch-loop (M4)

Iteratively generate and evaluate improvements against a target's eval criteria.

bun scripts/autoresearch-loop.ts -t targets.jsonl --max-rounds 20

Requires ANTHROPIC_API_KEY environment variable.

Full Pipeline Example

cd plugins/skill-eval

# 1. Extract events from recent sessions
bun scripts/transcript-extract.ts --since 7d -o events.jsonl

# 2. Classify friction signals
bun scripts/signal-classify.ts -i events.jsonl -o classified.jsonl

# 3. Identify top optimization targets
bun scripts/target-identify.ts -i classified.jsonl --top 5 -o targets.jsonl

# 4. Run autoresearch loop on the top target
bun scripts/autoresearch-loop.ts -t targets.jsonl --max-rounds 10

mod-forge

Build and verify Claude Code mods without touching the session you are working in. Claude Code only, version 2.1.287 or later.

The build-claude-mod skill sends an agent through scripts/run-mod.sh, which runs a mod through five fail-fast stages (validate, test, headless, typecheck, interactive) in separate processes under a harness-owned CLAUDE_CONFIG_DIR. See plugins/mod-forge/README.md for stages, evidence files, and exit codes.

Requires jq. Live stages also need ANTHROPIC_API_KEY, the interactive stage needs tmux, and the type check needs a TypeScript compiler.

# Offline test: no model calls, no API key
bun run test:mod-forge

# Live test: starts real claude children and makes real model calls
# (about $0.01 to $0.03 per headless run). Needs ANTHROPIC_API_KEY and tmux.
bash plugins/mod-forge/tests/live.test.sh

pr-pane

A Claude Code mod for keeping your open pull requests one keystroke away. Claude Code only, version 2.1.287 or later.

/prs toggles a band above the prompt listing your open PRs across repositories. The whole PR description carries its status color: ✗ unresolved comments or requested changes in red, ✓ approved in blue, ● needs review in orange, and ○ draft in dim text. Draft takes precedence; unresolved review threads take precedence over approval. Resolved threads and historical comments do not make a PR red.

Press Ctrl+X, then Tab to focus the band; arrows or Tab move between controls and Enter opens a PR in your browser (open on macOS, xdg-open on Linux). While the band has focus, r sorts by repository, s by status, and d by last-updated date. One sort mode is active at a time; repository/status groups use newest-updated first. The default status order is feedback, approved, needs review, draft. Up to eight rows appear per page; p/n switch pages. If other band output makes the drawing overflow, arrows scroll and Tab still moves focus. Esc returns to the prompt and leaves the band visible; /prs hides it. The band sets no background color and yields while a survey is active.

Dim horizontal rules above and below the PR content visually separate it while preserving the default background. Smaller bands reduce the page size to leave room for the rules.

It needs no configuration. The GitHub user is whoever gh is logged in as. Background polling runs at startup, every 60 seconds, and when you show the band; updates normally appear within a minute plus API latency. The header shows the open PR count and last successful refresh time. A failed refresh keeps the last good list and shows the error in the band. If gh is missing or logged out, it says to run gh auth login. The list includes the 100 most recently updated PRs; the header shows the true total when there are more.

# Run the mod's tests (no network, no API key)
claude plugin test plugins/pr-pane

Uninstallation

claude plugin uninstall cass
claude plugin uninstall skill-eval
claude plugin uninstall mod-forge
claude plugin uninstall pr-pane

# To remove the marketplace itself
claude plugin marketplace remove asragab-claude-marketplace

License

MIT

同名の他の作品

関連作品