Claw Deck 标志

Claw Deck

组织
Felo-Inc
claw-deck

Use when users need to manage ClawDeck project workspaces backed by Felo LiveDoc — creating, loading, switching workspaces, saving artifacts, querying history, or managing tasks. Triggers on workspace-related intent combined with project/client names, or on 401 UNAUTHORIZED errors from Felo API.

概览

发布者Felo-Inc
代码仓库felo-skills
技能名称claw-deck
星标数
248
复刻数
23
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 Felo-Inc 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Claw Deck AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Felo-Inc/felo-skills/tree/main/claw-deck
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Felo-Inc/felo-skills.git /tmp/felo-skills
mkdir -p .claude/skills
cp -r /tmp/felo-skills/claw-deck .claude/skills/claw-deck
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Claw Deck,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Claw Deck。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Claw Deck 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

ClawDeck — Workspace Manager

The Agent's external brain for projects. Once active, the Agent continuously syncs tasks, artifacts, and knowledge to the corresponding LiveDoc, so anyone (including future sessions or colleagues) can load the workspace and immediately get full context.

Core Concepts

ConceptDescription
WorkspaceOne project = one LiveDoc
Active WorkspaceSession-level state; all operations auto-sync here
READMEThe Agent's memory of the project; Agent maintains proactively
ArtifactsKey outputs; Agent asks before saving
TasksTracking records for substantive work; Agent maintains silently
Registry~/.claude/workspaces.json, maps project names to LiveDoc IDs

Registry format:

json
{
  "workspaces": {
    "client-acme": "abc123",
    "project-x": "def456"
  }
}

Script Shorthand

In all commands below, $SCRIPT refers to:

node felo-livedoc/scripts/run_livedoc.mjs

When NOT to Use

  • Simple chitchat or clarifying questions
  • One-off generation unrelated to any project/workspace
  • User has not installed the Felo LiveDoc NPM package

Workflows

0. First-Time Installation

User pastes GitHub install link → execute installation → after completion, automatically enter Login flow (0a).

0a. Login / Re-authorization

Trigger conditions (either one):

  • First-time installation, Key not yet configured
  • Any API call returns {"status":401,"code":"UNAUTHORIZED","message":"Invalid API Key"}

Flow:

  1. Send login link:

    "Please click the link to log in / register a Felo account: https://felo.ai/settings/api-keys Once done, paste the Key back to me and I'll complete the setup automatically."

  2. User pastes Key → write to config:
    bash
    export FELO_API_KEY="user's Key"
    Or persist to ~/.claude/env (platform-dependent).
  3. Verify: $SCRIPT list
    • Pass + first install → show usage introduction (see "First-Time Usage Introduction" below)
    • Pass + re-authorization → "✅ Authorization updated." → retry the failed command
    • Fail → "Invalid Key, please paste again."

First-Time Usage Introduction (show only on first install; skip on re-authorization):

"🎉 Setup complete! You can now use the following commands to manage workspaces:

📁 Create workspace — Create a standalone workspace for a new project Example: 'Create a workspace called Client Acme'

📂 Load workspace — Open an existing project, restore context Example: 'Load the Acme workspace'

📋 View workspace — List all projects or view project contents Example: 'What workspaces do I have?' / 'What's in the Acme workspace?'

💾 Save artifacts — Important outputs will prompt you to save

The workspace records everything we do. You can view it anytime on the web: https://felo.ai"

1. Load Workspace

  1. Read ~/.claude/workspaces.json, fuzzy-match project name. If not found locally, try $SCRIPT list --keyword.
  2. Found: Set as active → $SCRIPT get-readme SHORT_ID → present README as workspace briefing → append link https://felo.ai/livedoc/SHORT_ID?from=claw. If README is empty or missing, fall back to $SCRIPT resources SHORT_ID to show the resource list.
  3. Not found: "No workspace found for '[X]'. Want me to create one?"

2. Create Workspace

bash
$SCRIPT create --name "Project Name" --description "workspace"

Extract short_id → initialize README (see "README Structure Template" below) → update registry → set as active → reply:

"✅ Workspace '[X]' created. 📎 https://felo.ai/livedoc/SHORT_ID?from=claw"

3. Task Sync (Mandatory)

Iron rule: When the workspace is active, if the user's request requires the Agent to invoke tools to produce new content (search, generate, analyze, etc.), the very first step is always create-task — before doing anything else.

Decision flow:

  1. User sends a message
  2. Does this message require the Agent to invoke tools to produce new content? (search, generate, collect, analyze, write)
    • Yes → immediately create-task → execute → update-task to mark complete
    • No → execute directly, no task needed

Requires task creation (invoking tools to produce new content):

  • "Collect client info on Mr. Zhang" → requires search + generation
  • "Add 10 horror TikTok videos" → requires search + adding content
  • "Write a competitive analysis report" → requires generation
  • "Search for recent gold price trends" → requires search

Does NOT require task creation (workspace operations):

  • "Load Mr. Zhang's workspace" → workspace operation
  • "What's in my workspace?" → viewing workspace
  • "Refresh the workspace" / "Create a new workspace" → workspace management
  • "Save that report" → saving artifacts
  • "Update the README" / "Rename the workspace" → workspace maintenance
  • Chitchat, clarifying questions

On load: Pull pending and in-progress tasks:

bash
$SCRIPT tasks SHORT_ID --status 0
$SCRIPT tasks SHORT_ID --status 1

Step one — Create task (before doing anything else):

bash
$SCRIPT create-task SHORT_ID --title "Task description" --status 1 --sort 0 [--operated-by "Agent Name"]

Save the returned task_id in working memory.

--title should be a one-line summary of what the user wants done, e.g.:

  • User says "Collect info on Mr. Zhang" → --title "Collect client info on Mr. Zhang"
  • User says "Add 10 horror videos" → --title "Add 10 horror TikTok trending videos"

--operated-by rules:

  • Only pass it if the Agent has been given a name in this session (e.g. an OpenClaw agent with an assigned name)
  • Omit it if no explicit name (e.g. a plain Claude Code session)

Last step — Mark complete (immediately after execution):

bash
$SCRIPT update-task SHORT_ID TASK_ID --status 2 [--operated-by "Agent Name"]

(--operated-by rule same as above — pass it when the Agent has a name.)

Execute silently — do not narrate the task sync to the user. If you forgot to create a task before starting, create it retroactively and mark it DONE immediately. Never skip it.

4. Save Artifacts (Ask First)

After producing significant output, ask the user: "Want me to save this to the [project] workspace?"

Significant artifacts = research reports, competitive analyses, meeting summaries, generated documents, key data exports. Intermediate drafts do not need to be saved.

TypeCommand
Document$SCRIPT add-doc SHORT_ID --title "Title" --content "content"
URL$SCRIPT add-urls SHORT_ID --urls "URL"
File$SCRIPT upload SHORT_ID --file ./path --convert

After saving, reply:

"💾 Saved '[Title]' 📎 https://felo.ai/livedoc/SHORT_ID?from=claw"

5. README Maintenance

The README is the Agent's memory of the project — not a work log. Agent maintains proactively, no need to ask the user.

README Structure Template:

markdown
# [Project Name]

## What This Project Is
[Project background, objectives, stakeholders]

## User Preferences & Work Patterns
[How the user likes to work, what dimensions they care about, specific requirements]

## Current Progress
[Where things stand now — updated each session]
Last updated: YYYY-MM-DD

When to update README — core question: Did this operation bring any new understanding?

Update (new understanding):

  • When the project is first created — record "what this project is about"
  • When the user expresses preferences or work patterns — record "how the user wants to work" (e.g. collection dimensions, focus areas, format requirements)
  • When the project's nature or direction changes

Do NOT update (repeated execution):

  • Same-pattern repeated operations (e.g. after collecting info on Mr. Zhang, collecting info on Mr. Li using the same pattern — no update needed)
  • The mere fact of executing an action (generating a document is not worth recording by itself)

Update method: Read → merge in memory into the correct section → write back in full. Never blindly append to the end.

  1. $SCRIPT get-readme SHORT_ID to read current content
  2. Locate the target section in memory and insert:
    • Project background → ## What This Project Is
    • User preferences → ## User Preferences & Work Patterns
    • Progress changes → replace ## Current Progress section content
  3. Update Last updated: YYYY-MM-DD to today's date
  4. $SCRIPT update-readme SHORT_ID --content "..." to write back

Initialization (README is empty or missing): Skip step 1, write the full skeleton directly with update-readme.

After updating, inform the user:

"📝 README updated. 📎 https://felo.ai/livedoc/SHORT_ID?from=claw"

6. Query Workspace

Prefer resources + content (direct read, free) over retrieve (LLM-based semantic search, costs money).

bash
$SCRIPT resources SHORT_ID
$SCRIPT content SHORT_ID RESOURCE_ID
$SCRIPT retrieve SHORT_ID --query "question"   # fallback

Synthesize returned content into a direct answer. Do not dump raw results.

7. Refresh Workspace

When the user says "refresh", or when the workspace may have been updated externally (by a colleague or another session), re-fetch:

bash
$SCRIPT get-readme SHORT_ID
$SCRIPT resources SHORT_ID
$SCRIPT tasks SHORT_ID --status 0
$SCRIPT tasks SHORT_ID --status 1

Update the in-memory snapshot. Tell the user: "Workspace refreshed." If anything changed, briefly describe the differences (new resources, README updates, new tasks).

8. List Contents

$SCRIPT resources SHORT_ID, grouped by type, artifacts newest first.


Session State

ACTIVE_WORKSPACE = { name: "project-x", short_id: "abc123" }
  • Set when user loads or creates a workspace; clear when user says "close workspace"
  • If no active workspace and user tries to save/log/query/task: "No active workspace. Which project?"

Error Handling

ErrorAction
Key missing / 401 UNAUTHORIZEDTrigger Login flow (0a)
LiveDoc ID staleOffer to re-link or create new
Registry missingAuto-create with {"workspaces": {}}
Ambiguous fuzzy matchList all matches, ask user to pick

Important Rules

  • Write all content in the user's language — Chinese if they speak Chinese, English if English
  • Always use short_id for all LiveDoc operations
  • Execute commands immediately — don't describe, do
  • Task sync and README updates are the Agent's responsibility — proactive, not reactive
  • Append workspace link after every write operation

常见问题

Claw Deck AI 技能有什么作用?

Use when users need to manage ClawDeck project workspaces backed by Felo LiveDoc — creating, loading, switching workspaces, saving artifacts, querying history, or managing tasks. Triggers on workspace-related intent combined with project/client names, or on 401 UNAUTHORIZED errors from Felo API.

为什么在 TypingMind 中使用 Claw Deck?

因为您只需安装一次,就能搭配任何模型使用。Claw Deck 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Claw Deck?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Felo-Inc/felo-skills/tree/main/claw-deck。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Claw Deck?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Claw Deck 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Claw Deck 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Claw Deck AI 技能免费吗?

Felo-Inc 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇