ghwf0-remote
1
总安装量
1
周安装量
#76739
全站排名
安装命令
npx skills add https://github.com/shotaiuchi/dotclaude --skill ghwf0-remote
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
continue
1
kimi-cli
1
Skill 文档
Always respond in Japanese. Write all workflow documents (*.md) in Japanese.
/ghwf0-remote
GitHub Issue/PR ã®ã©ãã«ãç£è¦ããã¯ã¼ã¯ããã¼ãèªåå®è¡ãããã¼ã¢ã³ãå¶å¾¡ããã
Usage
/ghwf0-remote start # ãã¼ã¢ã³èµ·å
/ghwf0-remote stop # ãã¼ã¢ã³åæ¢
/ghwf0-remote status # ç¶æ
確èª
Label Schema
Opt-in Label (Required)
| Label | Description |
|---|---|
ghwf |
ãã¼ã¢ã³ç£è¦ãæå¹åï¼å¿ é ï¼ |
Note: ghwf ã©ãã«ããªãIssueã¯ãã³ãã³ãã©ãã«ããã£ã¦ãç¡è¦ããã¾ãã
State Labels (Daemon Managed)
| Label | Description |
|---|---|
ghwf:executing |
å®è¡ä¸ |
ghwf:waiting |
æ¿èªå¾ ã¡ |
ghwf:completed |
å®äº |
Command Labels (User Assigned)
| Label | Description | Requires Update |
|---|---|---|
ghwf:exec |
次ã¹ããããå®è¡ | No |
ghwf:redo |
ç¾å¨ã¹ãããåå®è¡ | Yes |
ghwf:redo-N |
step N ããåå®è¡ | Yes |
ghwf:revision |
wf1 ããå ¨ä½åå®è¡ | Yes |
ghwf:stop |
ç£è¦åæ¢ | No |
Progress Labels (Daemon Managed)
ghwf:step-1 ã ghwf:step-7
Configuration
| Environment Variable | Default | Description |
|---|---|---|
POLL_INTERVAL |
60 | Polling interval in seconds |
MAX_STEPS_PER_SESSION |
0 (unlimited) | Max workflow steps before daemon pauses |
VERBOSE |
false | Enable detailed logging |
Retry Settings
| Environment Variable | Default | Description |
|---|---|---|
GHWF_RETRY_MAX |
3 | Max retry attempts for API calls |
GHWF_RETRY_DELAY |
5 | Initial retry delay (seconds) |
GHWF_RETRY_BACKOFF |
2 | Backoff multiplier |
GHWF_CLAUDE_RETRY_MAX |
2 | Max retries for Claude calls |
GHWF_CLAUDE_RETRY_DELAY |
30 | Initial delay for Claude retries |
Example:
GHWF_RETRY_MAX=5 MAX_STEPS_PER_SESSION=20 /ghwf0-remote start
Daemon Behavior
Polling (60ç§éé)
1. Query: Issues/PRs with ghwf + ghwf:* command labels
2. For each:
a. ghwf:exec â æ¬¡ã¹ãããå®è¡
b. ghwf:redo* â æ´æ°ãã§ã㯠â step N ããå®è¡
c. ghwf:revision â æ´æ°ãã§ã㯠â step 1 ããå®è¡
d. ghwf:stop â ç£è¦åæ¢
3. ã©ãã«æ´æ°
4. Push
Update Detection (redo*/revision)
以ä¸ã®ããããã®æ´æ°ããªããã°å¾ æ©:
- Issue/PR ã«æ°ããã³ã¡ã³ã (bot é¤ã)
- Issue æ¬æã®æ´æ°
- PR ã¬ãã¥ã¼ã³ã¡ã³ã
Bot ã³ã¡ã³ãã®å¤å®:
- author:
github-actions[bot]} - body ã
ð¤ã§å§ã¾ã
Processing
start
- Check prerequisites:
gh auth status,tmux - Launch tmux session
ghwf-daemon - Run
~/.claude/scripts/ghwf/ghwf-daemon.sh - Confirm startup
stop
- Kill tmux session
ghwf-daemon - Confirm shutdown
status
Check commands:
# Daemon status
tmux ls 2>&1 | grep -E "ghwf-daemon"
# Active Claude process
ps aux | grep -E "claude.*ghwf" | grep -v grep
# Current execution info (if running)
cat .wf/ghwf-current.json 2>/dev/null
# Claude output log (stream-json format)
cat .wf/ghwf-claude.log 2>/dev/null | tail -50
# Recent daemon log
tmux capture-pane -t ghwf-daemon -p -S -20
Display (table format):
ghwf-daemon ã¹ãã¼ã¿ã¹
ââââââââââââââââââââ¬ââââââââââââââââââââââââââââ
â é
ç® â ç¶æ
â
ââââââââââââââââââââ¼ââââââââââââââââââââââââââââ¤
â ãã¼ã¢ã³ â â
å®è¡ä¸ â
â tmux session â ghwf-daemon â
â èµ·åæå» â 2026-02-02 11:32:31 (JST) â
â æçµãã¼ãªã³ã° â 2026-02-02 11:32:36 (JST) â
â å®è¡æ¸ã¿ã¹ããã â 0 â
ââââââââââââââââââââ´ââââââââââââââââââââââââââââ
å®è¡ä¸ã®Claudeããã»ã¹
âââââââââââââ¬âââââââââââââââââââââââââââââââââââââââ
â é
ç® â ç¶æ
â
âââââââââââââ¼âââââââââââââââââââââââââââââââââââââââ¤
â ã³ãã³ã â /ghwf1-kickoff revise â
â 対象 â Issue #1 â
â å®è¡æé â 21ç§ â
â CPU使ç¨ç â 2.3% â
âââââââââââââ´âââââââââââââââââââââââââââââââââââââââ
ç£è¦ä¸ã®ã¯ã¼ã¯
- ãªã
Claude詳細åºå (ç´è¿)
{"type":"tool_use","name":"Read","input":{"file_path":"/path/to/file"}}
{"type":"tool_result","content":"file contents..."}
{"type":"text","content":"ãã¡ã¤ã«ãèªã¿è¾¼ã¿ã¾ããã"}
æè¿ã®ãã° (ç´è¿10è¡)
[2026-02-02 11:32:31] Polling for ghwf:* labels...
[2026-02-02 11:32:35] Processing issue #1 with label: ghwf:revision
[2026-02-02 11:32:36] Executing step 1: ghwf1-kickoff
If no Claude process running, show:
å®è¡ä¸ã®Claudeããã»ã¹
ãªãï¼å¾
æ©ä¸ï¼
Claude詳細åºå
ãªãï¼å®è¡ä¸ã®ããã»ã¹ãããã¾ããï¼
State Files
.wf/ghwf-state.json (Daemon state)
{
"daemon": {
"enabled": true,
"started_at": "2026-01-31T10:00:00Z",
"last_poll": "2026-01-31T10:05:00Z",
"tmux_session": "ghwf-daemon"
},
"works": {
"<work-id>": {
"issue": 123,
"pr": 456,
"current_step": 3,
"last_execution": "2026-01-31T10:00:00Z"
}
}
}
.wf/ghwf-current.json (Current execution)
Claudeå®è¡ä¸ã®ã¿åå¨ãå®è¡å®äºæã«åé¤ãããã
{
"step": 1,
"command": "ghwf1-kickoff",
"mode": "revise",
"issue": 1,
"started_at": "2026-02-02T02:32:36Z",
"pid": 12345
}
.wf/ghwf-claude.log (Claude output)
claude --print --output-format stream-json ã®åºåã
åè¡ãJSONãªãã¸ã§ã¯ãï¼tool_use, tool_result, textçï¼ã
{"type":"tool_use","name":"Read","input":{"file_path":"..."}}
{"type":"tool_result","content":"..."}
{"type":"text","content":"å¦çå®äº"}
Security
| Rule | Description |
|---|---|
| Collaborator-only | admin/write/maintain 権éã®ã¿ |
| Command whitelist | ghwf:* ã©ãã«ã®ã¿å¦ç |
| Bot ignore | èªåã³ã¡ã³ãã¯æ´æ°å¤å®ããé¤å¤ |