Creating Cyber Digital Colleagues: Distilling Colleagues' Working Methods into Reusable AI Skills

Introduction

In teams, people often leave, rotate positions, or become unavailable, but their review habits, communication tone, and workflows for handling specific types of requirements are often scattered across Feishu threads, emails, and Wikis. Verbal handovers or digging through chat logs every time are costly and prone to distortion.

The following is an introduction to the SkillHub community Skill “Cyber Digital Colleague Creation Skill” (ID @user_dedbd569/cyber-colleague). Designed for Agent runtimes, it uses a unified process to organize materials such as chats, documents, emails, and notes into an iterable, loadable “Colleague Skill,” rather than a one-off prompt.

What is this

One-sentence positioning: Extracts a colleague’s work methods, processes, and communication style from multi-source materials to generate a structured local Skill package, supporting incremental updates and version control.

  • Publisher & Maintainer: SkillHub community publisher user_dedbd569, category ai-agent, source community.
  • Official Entry: SkillHub Skill Page, API endpoint https://api.skillhub.cn/user_dedbd569/cyber-colleague.
  • Page Version: Displayed as v1.0.1 on SkillHub; the SKILL.md metadata inside the package is marked as 1.2.1 (refer to the package you actually installed).
  • API Key Dependency: Tagged requires_api_key=false; for automated collection from Feishu, DingTalk, Slack, etc., third-party credentials are injected via environment variables (see below).

Core Features

The following capabilities are derived from the SKILL.md, README.md, and tools/ documentation within the skill package.

Material Input

Supports multiple sources, combinable by scenario:

Source Typical Capabilities
Feishu Auto-collection / Browser / MCP Messages, documents, spreadsheets (Auto-collection requires credentials or browser session)
DingTalk Auto-collection Documents, spreadsheets; Historical messages partially rely on browser automation
Slack Auto-collection Channel messages (Requires Bot to join the channel)
Manual Upload Feishu JSON exports, .eml / .mbox, PDFs, screenshots, Markdown, TXT, pasted text
Manual Entry Role summary, personality, and communication tags, etc.

Analysis & Output

The main workflow emphasizes “evidence first, conclusion second”: Work capabilities (scope, tech stack, review focus, output preferences) and communication style (expression, decision-making, collaboration, tone) are analyzed on separate tracks, with a summary previewed before writing to disk.

The default output directory is ./colleagues/{slug}/, containing:

  • work.md: Work methods and review habits
  • persona.md: Communication and behavioral preferences
  • meta.json: Profile, sources, and version information
  • SKILL.md: Synthesized skill document for runtime loading

When updating an existing Colleague Skill, it backs up first, then modifies incrementally; the accompanying version_manager.py supports listing history and rolling back.

Accompanying Tool Scripts

The skill directory provides parsing and collection entry points, such as:

  • tools/feishu_parser.py, tools/email_parser.py: Parse exported files
  • tools/feishu_auto_collector.py, tools/feishu_browser.py, tools/feishu_mcp_client.py: Feishu-related collection
  • tools/dingtalk_auto_collector.py, tools/slack_auto_collector.py: DingTalk and Slack
  • tools/skill_writer.py, tools/version_manager.py: Create, update, list versions

Installation & Activation

The official page requires the Agent to install the ID @user_dedbd569/cyber-colleague following the SkillHub Installation Instructions.

  1. Check if the CLI is already installed:
command -v skillhub && skillhub --version
  1. If not installed, install the CLI (choose full package or CLI-only based on documentation):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
  1. Install the skill to the current Agent’s skills directory (Must use --dir, otherwise the default ./skills/ might not be recognized):
skillhub install @user_dedbd569/cyber-colleague --dir <your skills directory>

Common path examples (Subject to SkillHub documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

After installation, reload or restart the Agent as required by your client to activate the skill directory.

Local Dependencies & Optional Components

If only using manually uploaded PDFs, emails, Markdown, or pasted text, the skill package instructions indicate that completing a Python syntax check is enough to start:

cd <skill installation directory>
python -m py_compile tools/*.py

For automated collection, install optional dependencies:

python -m pip install -r requirements.txt

Some sources can be installed separately, e.g., requests, slack-sdk, playwright; browser mode also requires playwright install chromium. See INSTALL.md in the skill package for details.

Environment Variables for Auto-collection (Excerpt)

Credentials should be passed via environment variables, not written into config files. Feishu auto-collection example:

COLLEAGUE_FEISHU_APP_ID
COLLEAGUE_FEISHU_APP_SECRET
COLLEAGUE_FEISHU_USER_ACCESS_TOKEN
COLLEAGUE_FEISHU_REFRESH_TOKEN
COLLEAGUE_FEISHU_P2P_CHAT_ID

DingTalk: COLLEAGUE_DINGTALK_APP_KEY, COLLEAGUE_DINGTALK_APP_SECRET. Slack: COLLEAGUE_SLACK_BOT_TOKEN. See INSTALL.md for the full list and descriptions.

The skill package README.md also provides a method to clone from the GitHub repository titanwings/colleague-skill to the local skills directory; choose either this or the SkillHub installation.

Typical Usage

After loading this skill in an Agent that supports local Skills, follow the guidance in SKILL.md.

1. Trigger Scenarios

Suitable when a user asks to “create a colleague skill / cyber colleague,” wants to extract someone’s work method from chat logs or documents, or needs to add materials or corrections to an existing Colleague Skill.

2. Main Interaction Flow

  1. Confirm colleague’s name or codename, role summary, optional personality and communication tags.
  2. Select material source: auto-collection, file upload, text pasting, or generate based solely on manual entry.
  3. If Feishu links are provided, distinguish between browser mode and MCP mode first.
  4. Analyze on two tracks: “Work Capability” and “Communication Style”; present Work / Persona summaries and uncertainties to the user.
  5. Write to ./colleagues/{slug}/ after confirmation; backup before incremental modification when updating.

3. Command Line Management Examples

List existing Colleague Skills:

python tools/skill_writer.py --action list --base-dir ./colleagues

Create a new Colleague Skill:

python tools/skill_writer.py --action create --slug <slug> --name <name> --base-dir ./colleagues

View version history and rollback:

python tools/version_manager.py --action list --slug <slug> --base-dir ./colleagues
python tools/version_manager.py --action rollback --slug <slug> --version <version> --base-dir ./colleagues

For installation acceptance, check tool help first, e.g., python tools/skill_writer.py --help (see INSTALL.md for other entries).

Use Cases & Notes

Who it is for: Teams that need to solidify specific colleagues’ reusable “work memory” into Skills and allow Agents to invoke them after personnel changes; usage where materials are mainly Feishu, emails, documents, and willing to go through a preview confirmation process.

Limitations & Notes:

  • When materials are insufficient, the skill requires explicit marking of “Insufficient” and should not hallucinate; permission insufficiency or missing dependencies should also be reported truthfully.
  • Browser mode only reads pages already accessible to the current account; it does not elevate permissions.
  • When packaging for release to SkillHub, use python tools/package_skillhub.py, and do not include real chats, local colleagues/ examples, or credentials in the archive (see SKILLHUB_UPLOAD.md).
  • Community Skill ratings and download counts fluctuate; at time of retrieval, SkillHub displayed a rating of 100000, 6443 downloads, and 317 installs, but real-time page data prevails.

Conclusion

The “Cyber Digital Colleague Creation Skill” converges collaboration traces scattered across multiple endpoints into a typified Colleague Skill package, distinguishing between work capability and persona communication analysis lines. It serves as a good starting point for an Agent workflow for team knowledge accumulation.

Official URL: https://www.skillhub.cn/skills/user_dedbd569/cyber-colleague (API: https://api.skillhub.cn/user_dedbd569/cyber-colleague).

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye