- Add detailed OAuth flow with step-by-step instructions
- Document how to obtain chat_id via send message API (GET /im/v1/chats doesn't return p2p)
- Add flexibility principle: model can write scripts directly instead of relying on collector
- Include full Feishu API reference for token, message, and contact endpoints
- Add contact/v3/scopes for open_id discovery
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add user_access_token support to api_get/api_post for user-identity API calls
- Add fetch_p2p_messages() to collect both sides of a private conversation
- Extend collect_messages() to combine p2p + group chat messages
- Add --exchange-code to convert OAuth code to user_access_token
- Add --user-token, --p2p-chat-id, --open-id CLI flags
- Update SKILL.md with p2p collection flow and permission requirements
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The old find_user() used /search/v1/user which requires user_access_token,
but the code only has tenant_access_token, causing error 99991663 every time.
New strategy:
1. Email/phone → /contact/v3/users/batch_get_id (fastest, proven working)
2. Name → department traversal + find_by_department (needs contact:department.base:readonly)
3. Both fail → clear error message with suggestions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add Slack row to data sources table
- Add ex-skill cross-promotion section
- Add slack_auto_collector.py to project structure
- Update intro text to mention Slack
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- README.md (Chinese) links to README_EN.md via [English]
- README_EN.md (English) links back to README.md via [中文]
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- SKILL.md now contains full instructions in both Chinese and English
- Auto-detect user language and respond accordingly
- Add quote to README header
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Merge 7 intake questions into 3: name, basic info, personality profile
- Each question includes a one-shot example
- Change "姓名" to "花名/代号", slug uses - separator
- Unify all references from colleague-creator to create-colleague
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Centered header with badges and nav links
- Install section first with git root warning
- Usage with /create-colleague command
- Demo examples, feature details, project structure
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Follows patterns from anthropics/skills and honnibal/claude-skills:
- Lead with install command, not feature list
- Usage section immediately after install
- Keep it scannable and copy-paste ready
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Skill runs in the user's project directory, not the skill directory.
All references to tools/ and prompts/ must use the CLAUDE_SKILL_DIR
substitution variable so Claude Code resolves them correctly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>