소스 정보
- 저장소
- ThinkfleetAI/thinkfleet-engine
- 최근 소스 활동
- 2026년 2월 16일 17:03
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- whoop
- description
- WHOOP morning check-in (recovery/sleep/strain) with suggestions.
- metadata
- {"thinkfleet":{"config":{"requiredEnv":"[Truncated]"}}}
# whoop
WHOOP morning check-in:
- fetches your latest WHOOP data (Recovery, Sleep, Cycle/Strain)
- generates a short set of suggestions for the day
## Quick Start (User + Bot)
### What the user does (one-time)
1) Create a WHOOP app and get credentials:
- `WHOOP_CLIENT_ID`
- `WHOOP_CLIENT_SECRET`
2) In the WHOOP developer dashboard, set Redirect URL:
- `https://localhost:3000/callback`
3) Put secrets into `~/.thinkfleet/.env`:
```bash
WHOOP_CLIENT_ID=...
WHOOP_CLIENT_SECRET=...
```
4) Authorize once (get refresh token):
```bash
node /home/node/thinkfleet/skills/whoop/bin/whoop-auth --redirect-uri https://localhost:3000/callback
```
- Open the printed URL on your phone/browser
- Tap Allow/Authorize
- Copy the `code` from the callback URL and paste it back
This writes `WHOOP_REFRESH_TOKEN=...` into `~/.thinkfleet/.env`.
### What the bot does (each run)
Run:
```bash
node /home/node/thinkfleet/skills/whoop/bin/whoop-morning
```
Then send the output back to the user.
## Automation (daily)
Recommended: schedule with Gateway cron (daily morning).
- Command: `node /home/node/thinkfleet/skills/whoop/bin/whoop-morning`
- Bot should send the output as a message.
## Notes
- OAuth endpoints:
- auth: `https://api.prod.whoop.com/oauth/oauth2/auth`
- token: `https://api.prod.whoop.com/oauth/oauth2/token`
- Requires `offline` scope to receive refresh tokens.
- WHOOP rotates refresh tokens; the newest refresh token must be saved.
GitHub에서 보기