Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/skills/coordinate/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ unattended worker whose token should reach only this repo) signs for
its human with `COORD_HUMAN`, so comments still read `human: @<you>`:

```bash
export COORD_HUMAN="your-github-login" # defaults to the gh account
export COORD_HUMAN="your-github-login" # with or without @; defaults to the gh account
```

## Start of every session
Expand Down
1 change: 1 addition & 0 deletions .claude/skills/coordinate/scripts/coord.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ if ($LASTEXITCODE -ne 0) { Die 'gh is not authenticated; run: gh auth login' }
$ME = (& $GH api user | ConvertFrom-Json).login
# An agent with its own GitHub account signs for its human; defaults to the account itself.
$HUMAN = if ($env:COORD_HUMAN) { $env:COORD_HUMAN } else { $ME }
$HUMAN = $HUMAN.TrimStart('@') # accept "@login" too: the header adds its own @

function Gh {
& $GH @args
Expand Down
1 change: 1 addition & 0 deletions .claude/skills/coordinate/scripts/coord.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ gh auth status >/dev/null 2>&1 || die "gh is not authenticated; run: gh auth log
ME="$(gh api user --jq .login)"
# An agent with its own GitHub account signs for its human; defaults to the account itself.
HUMAN="${COORD_HUMAN:-$ME}"
HUMAN="${HUMAN#@}" # accept "@login" too: the header adds its own @

# ---------- helpers ----------
header() { printf '**%s** | agent: %s | human: @%s | at: %s' "$1" "$AGENT" "$HUMAN" "$(now)"; }
Expand Down
Loading