wsshow/feikong-teams/fkteams
Claude Code and agent skill by wsshow/feikong-teams
- community
Checking that the SKILL.md file is still in the repository.
fkteams 多智能体协作 AI 助手的完整使用指南。当用户需要启动 fkteams、切换工作模式(团队/深度/讨论/自定义)、 通过命令行或管道执行查询、管理单个智能体(coder/researcher/fkteams_helper/analyst/remote/generalist)、管理会话历史(保存/加载/导出/恢复)、 管理模型配置(添加/切换/删除/登录服务商)、管理本地技能(列出/搜索/安装/移除)、初始化或修改配置文件, 以及了解 fkteams 的任意命令行用法时,请使用此 skill。
Install
npx vskill@latest install wsshow/feikong-teams/fkteamsSKILL.md
fkteams 命令行完整指南
一、快速入门
二、启动与运行模式
模式对照表
| 模式 | 命令 | 适用场景 | |
|---|---|---|---|
| Web 界面 | fkteams web | 日常使用,需要历史记录和可视化界面 | |
| CLI 交互 | fkteams | 服务器/终端环境 | |
| 直接查询 | fkteams -q "..." | 脚本集成、自动化 | |
| 纯 API 服务 | fkteams serve | 作为后端独立部署 |
Web 界面模式
CLI 交互模式
直接查询模式(非交互,执行后退出)
管道输入模式
管道有内容时自动进入非交互模式。
规则:同时提供 -q 时,查询内容为 -q 文本 + 换行 + 管道内容;管道为空且无 -q 时报错。
纯 API 服务模式
与 web 提供相同的 API,但无前端页面。支持端点:GET /v1/models、POST /v1/chat/completions。
恢复历史会话
全局参数
| 参数 | 简写 | 说明 | |
|---|---|---|---|
--mode | -m | 工作模式:team(默认)/ deep / group | |
--query | -q | 直接查询模式,执行后退出 | |
--resume | -r | 恢复指定会话 ID | |
--temporary | --temp | 临时会话,不保存历史 | |
--approve | 自动批准工具调用:all / command / file / git / dispatch(逗号分隔) |
三、交互模式内置命令
| 命令 | 说明 | |
|---|---|---|
quit / q | 退出程序 | |
help | 显示帮助 | |
list_agents | 列出所有可用智能体 | |
@智能体名 [查询] | 切换到指定智能体并可选执行查询 | |
switch_work_mode | 切换工作模式 | |
save_chat_history | 保存当前会话 | |
list_chat_history | 列出所有历史会话 | |
load_chat_history | 选择并加载历史会话 | |
clear_chat_history | 清空当前会话(不删除文件) | |
save_chat_history_to_markdown | 导出为 Markdown | |
save_chat_history_to_html | 导出为 HTML | |
list_schedule | 列出所有定时任务 | |
cancel_schedule | 取消定时任务 | |
delete_schedule | 删除定时任务 | |
list_memory | 列出长期记忆条目 | |
delete_memory | 删除记忆条目 | |
clear_memory | 清空所有长期记忆 |
四、单智能体模式(agent 子命令)
智能体目录
| 名称 | 配置项 | 角色 | |
|---|---|---|---|
coordinator | [[agents.items]] id = "coordinator" | 协调者 | |
coder | [[agents.items]] id = "coder" | 软件工程师,代码实现、调试、重构 | |
researcher | [[agents.items]] id = "researcher" | DuckDuckGo 网络搜索 | |
fkteams_helper | [[agents.items]] id = "fkteams_helper" | fkteams 安装、配置、扩展与故障排查答疑 | |
analyst | [[agents.items]] id = "analyst" | 数据分析(Excel、Python、文档) | |
remote | [[agents.items]] id = "remote" + ssh = { ... } | SSH 远程服务器访问 | |
generalist | [[agents.items]] id = "generalist" | 通用执行助手,支持多工具任务 |
agent 命令用法
agent 子命令参数
| 参数 | 简写 | 说明 | |
|---|---|---|---|
list | 列出所有可用智能体 | ||
--name | -n | 智能体名称(必填,与 list 互斥) | |
--query | -q | 直接查询模式 | |
--temporary | --temp | 临时会话,不保存历史 | |
--format | 输出格式:default(格式化)或 json(原始事件) | ||
--approve | 自动批准:all / command / file / git / dispatch |
交互模式下,输入 @ 符号后自动显示智能体列表供选择。
五、会话管理(session 子命令)
会话文件保存在 ~/.fkteams/sessions/,以时间戳命名(如 20260302_091249)。
交互模式内:save_chat_history / load_chat_history / clear_chat_history / save_chat_history_to_markdown / save_chat_history_to_html
六、模型管理(model 子命令)
登录服务商(写入 config.toml,无需手动编辑)
七、技能管理(skill 子命令)
技能目录:~/.fkteams/skills/<技能名>/,每个技能必须包含 SKILL.md。
八、配置与初始化(generate / init 子命令)
关键配置项
环境变量
| 变量 | 默认值 | 说明 | |
|---|---|---|---|
FEIKONG_APP_DIR | ~/.fkteams | 应用数据目录 | |
FEIKONG_PROXY_URL | — | 代理地址(唯一的代理配置方式) | |
FEIKONG_MAX_ITERATIONS | 60 | 智能体最大迭代次数(0/-1 不限制) |
九、其他子命令
十、常见问题(Gotchas)
- 会话默认保存:退出时会自动写入历史;临时任务可加
--temporary,额外导出可在交互中执行save_chat_history_to_html或save_chat_history_to_markdown。 - 管道触发非交互模式:哪怕管道为空也会触发,空管道 + 无
-q会报错。 - `fkteams web` vs `fkteams serve`:
web包含前端页面;serve仅提供 API,无界面。 - 首次使用需先生成配置:运行
fkteams generate config后再启动,否则报错。 - 可选智能体需先在配置中启用:调用未启用的智能体会返回错误。
- 代理只能通过环境变量设置:
config.toml中没有代理配置项,只用FEIKONG_PROXY_URL。 - `model sw` 只切换默认,不删除配置:要删除用
model rm。 - 技能安装后需重启 fkteams 才生效:技能在启动时加载,热安装不生效。
- `[openai_api]` 不配置 `api_keys` 时所有 API 请求返回 401。
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdocs/skills/fkteams/SKILL.md
Popularity
- Repository stars
- 149
- Repository forks
- 32
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wsshow/feikong-teams/fkteams)