# Coaching — data source skill (agent version)

The coaching data source skill — coaching at Alpha this school year: which struggling students got a session by the next school day, completed sessions against the target, how sessions really ended (Meet attendance), what the coach found, whether sessions left students better on their own, whether coaching adds value against similar uncoached students, and heavy users. Answers may name students (from TimeBack) and coaches.

- Version 2026-10-22 · source beyondai-projects/coaching-data-source-skill@641ea48 with edits
- Front door (JSON): https://insights.alpha.school/skill/coaching/skill.json · Claude Code instructions: https://insights.alpha.school/skill/coaching/instructions/ai
- Feedback: anyone can file a report on the skill, no key — how, in the instructions (§ Giving feedback) and skill.json → feedback
- Human page: https://insights.alpha.school/skill/coaching

## Install for Claude Code

Claude Code loads personal skills from `~/.claude/skills/<name>/SKILL.md` (Windows: `%USERPROFILE%\.claude\skills\<name>`). The archive's
top folder is `coaching/`: extract it into the skills folder, replacing any earlier copy.

**Credentials.** The skill reads `~/.claude/coaching-api.env` (Windows: `%USERPROFILE%\.claude\coaching-api.env`), never a file inside
the skill folder:
```
COACHING_API_URL=https://vnri2rj57j.execute-api.us-east-1.amazonaws.com/prod
COACHING_API_KEY=<the person's own API key>
```
The key is issued per person. Do not ask the person to paste it into the chat: give them the command below to run themselves (or let the
installer prompt for it), never print it, never store it anywhere else.

**Or TimeBack admin access.** Someone with admin access to TimeBack needs no key: the same file holds their TimeBack client ID and
secret (or only a TimeBack access token, `TIMEBACK_TOKEN`, which they refresh themselves), and the skill reads the routes under
`/timeback` (SKILL.md, Setup). The installer asks for them when the key prompt is left empty. The same rules: the person types the
secret, nobody prints it.
```
COACHING_API_URL=https://vnri2rj57j.execute-api.us-east-1.amazonaws.com/prod
TIMEBACK_CLIENT_ID=<their TimeBack client ID>
TIMEBACK_CLIENT_SECRET=<their TimeBack client secret>
```

### macOS · Linux · WSL · Git Bash
Everything in one step (the script prompts for the key in the person's terminal; run it with `!` in Claude Code or ask the person to run it):
```sh
curl -fsSL https://insights.alpha.school/skill/coaching/install.sh | sh
```
Or step by step:
```sh
mkdir -p ~/.claude/skills && rm -rf ~/.claude/skills/coaching && curl -fsSL https://insights.alpha.school/skill/coaching/download/coaching.tar.gz | tar -xz -C ~/.claude/skills
# the person runs this themselves in their own terminal (the key is typed hidden and stays out of shell history):
(umask 077; printf 'API key: '; stty -echo; read -r K; stty echo; echo; printf 'COACHING_API_URL=%s\nCOACHING_API_KEY=%s\n' 'https://vnri2rj57j.execute-api.us-east-1.amazonaws.com/prod' "$K" > ~/.claude/coaching-api.env); chmod 600 ~/.claude/coaching-api.env
# or, with TimeBack admin access, instead of the key line above:
(umask 077; printf 'TimeBack client ID: '; read -r I; printf 'TimeBack client secret: '; stty -echo; read -r S; stty echo; echo; printf 'COACHING_API_URL=%s\nTIMEBACK_CLIENT_ID=%s\nTIMEBACK_CLIENT_SECRET=%s\n' 'https://vnri2rj57j.execute-api.us-east-1.amazonaws.com/prod' "$I" "$S" > ~/.claude/coaching-api.env); chmod 600 ~/.claude/coaching-api.env
python3 ~/.claude/skills/coaching/datasource/checks.py spec   # last line: spec: PASS (N)
python3 ~/.claude/skills/coaching/datasource/smoke.py               # last line: Smoke test passed. (N PASS)
```

### Windows (PowerShell)
```powershell
curl.exe -fsSL https://insights.alpha.school/skill/coaching/install.bat -o "$env:TEMP\coaching-install.bat"; if ($?) { & "$env:TEMP\coaching-install.bat" }
```
Or step by step:
```powershell
$skills = "$env:USERPROFILE\.claude\skills"; New-Item -ItemType Directory -Force $skills | Out-Null
curl.exe -fsSL https://insights.alpha.school/skill/coaching/download/coaching.zip -o "$env:TEMP\coaching.zip"
Remove-Item -Recurse -Force "$skills\coaching" -ErrorAction SilentlyContinue; tar -xf "$env:TEMP\coaching.zip" -C $skills
# the person runs this themselves (the key is typed hidden and stays out of history):
$k = Read-Host 'API key' -AsSecureString; $k = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($k))
Set-Content -Path "$env:USERPROFILE\.claude\coaching-api.env" -Value "COACHING_API_URL=https://vnri2rj57j.execute-api.us-east-1.amazonaws.com/prod", "COACHING_API_KEY=$k"
py -3 "$skills\coaching\datasource\checks.py" spec
py -3 "$skills\coaching\datasource\smoke.py"
```

## Verify
1. `datasource/checks.py spec` ends with `spec: PASS (N)` (offline, Python 3 only).
2. `datasource/smoke.py` ends with `Smoke test passed. (N PASS)` (reads the API with the key or the TimeBack credentials; a minute or two).
3. Then read `SKILL.md` in the installed folder — it is the skill's own instructions.

## Downloads
| file | sha256 |
|---|---|
| https://insights.alpha.school/skill/coaching/download/coaching.tar.gz | 80ea138017bd43caa1d89da5522154ec810fe7be7282434cb53df0003b90089d |
| https://insights.alpha.school/skill/coaching/download/coaching.zip | 79ffea6b0c3d6e158ba602a7a65c809ade00de799d3a2247b513523fa934e810 |

## Documents (agent versions: raw markdown)
- Instructions — What Claude reads first: setup, reading order and how to answer. https://insights.alpha.school/skill/coaching/instructions/ai
- Dictionary — Every term, field, rule and figure — how each is born and what it means. https://insights.alpha.school/skill/coaching/dictionary/ai
- Enablement — Worked compositions: the questions this source answers, step by step. https://insights.alpha.school/skill/coaching/enablement/ai
- Brainlift — The opinion layer: what we believe about the data, and every dated ruling. https://insights.alpha.school/skill/coaching/brainlift/ai
- Front door — https://insights.alpha.school/skill/coaching/skill.json

Every page of this site has an agent version: append `/ai` to its path.
