Logo de Clawkeeper

Clawkeeper

ComunidadePopular
SafeAI-Lab-X
clawkeeper

Install, configure, verify, and debug the Clawkeeper watcher stack in this workspace. Use when a user asks to set up `clawkeeper`, initialize `remote` or `local` mode, enable `clawkeeper-watcher`, wire `clawkeeper-bands`, diagnose `context-judge` routing, inspect watcher logs, fix mode/config mismatches, or troubleshoot startup, audit, hardening, rollback, drift monitoring, or bridge notification issues.

Add to TypingMind

Visão geral

Publicado porSafeAI-Lab-X
RepositórioClawKeeper
Nome da habilidadeclawkeeper
Estrelas
1K
Forks
57
Arquivos incluídos
Somente instruções
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por SafeAI-Lab-X no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Clawkeeper no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/SafeAI-Lab-X/ClawKeeper/tree/main/legacy/clawkeeper-watcher/skills/clawkeeper
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SafeAI-Lab-X/ClawKeeper.git /tmp/ClawKeeper
mkdir -p .claude/skills
cp -r /tmp/ClawKeeper/legacy/clawkeeper-watcher/skills/clawkeeper .claude/skills/clawkeeper
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Clawkeeper em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Clawkeeper automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Clawkeeper não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Clawkeeper

Use this skill only for the Clawkeeper workspace. Treat clawkeeper-watcher as the product center and clawkeeper as the launcher that prepares mode-specific runtime state.

Core mental model

  • plugins/clawkeeper-watcher/ is the watcher plugin and governance engine.
  • clawkeeper/ is the launcher that prepares isolated remote and local mode roots, then delegates to OpenClaw.
  • plugins/clawkeeper-bands/ is the user-side bridge for notifications and approvals.
  • remote is read-only judgment and historical intelligence.
  • local is trusted audit, hardening, rollback, drift monitoring, and skill guard.
  • Both watcher modes expose POST /plugins/clawkeeper-watcher/context-judge.

Read these files when needed:

  • README.md
  • plugins/clawkeeper-watcher/README.md
  • plugins/clawkeeper-bands/README.md
  • clawkeeper/src/cli.ts

Preferred workflow

Follow this order unless the user explicitly narrows the task:

  1. Identify whether the user wants install, config, validation, or debugging.
  2. Check whether the issue is about the launcher, the watcher plugin, or the bands bridge.
  3. Verify the exact mode in play: remote, local, or both.
  4. Run the smallest direct validation command first.
  5. Only after validation fails, inspect config, logs, bridge wiring, and code paths.

Do not jump straight to speculative fixes.

Install and initialize

For source checkout setup in this repo, use:

bash
pnpm install
cd clawkeeper
npm install
npm run build
npm link
cd ..

Initialize modes with:

bash
clawkeeper init remote
clawkeeper init local
clawkeeper local config set gateway.mode local
clawkeeper status

Important:

  • local mode expects gateway.mode=local.
  • The launcher stores mode state under ~/.clawkeeper/ by default unless --root overrides it.
  • If the problem is only inside the watcher plugin, do not blame launcher setup until clawkeeper status or mode launch actually fails.

Validation commands

Use the most direct command for the claimed problem.

Launcher validation

bash
clawkeeper --help
clawkeeper status
clawkeeper init remote
clawkeeper init local

Mode launch validation

bash
clawkeeper remote gateway run
clawkeeper local gateway run

Watcher validation

bash
clawkeeper remote clawkeeper-watcher status
clawkeeper remote clawkeeper-watcher logs
clawkeeper remote clawkeeper-watcher fingerprints
clawkeeper remote clawkeeper-watcher profiles

clawkeeper local clawkeeper-watcher status
clawkeeper local clawkeeper-watcher logs
clawkeeper local clawkeeper-watcher audit
clawkeeper local clawkeeper-watcher harden
clawkeeper local clawkeeper-watcher monitor
clawkeeper local clawkeeper-watcher rollback
clawkeeper local clawkeeper-watcher scan-skill <name-or-path>

Context-judge validation

Confirm that the route is the watcher route, not the bands route:

text
POST /plugins/clawkeeper-watcher/context-judge

Bridge validation

Install the receiving-side bridge plugin with:

bash
openclaw plugins install --link /path/to/clawkeeper/plugins/clawkeeper-bands

Then verify the local watcher bridge config:

bash
clawkeeper local config set plugins.entries.clawkeeper-watcher.config.notify.userBridge.enabled true
clawkeeper local config set plugins.entries.clawkeeper-watcher.config.notify.userBridge.url http://127.0.0.1:18889
clawkeeper local config set plugins.entries.clawkeeper-watcher.config.notify.userBridge.token <gateway-token>

Debugging order

When debugging, follow this sequence:

  1. Confirm the exact failing command.
  2. Confirm whether the command is running in remote or local.
  3. Confirm whether the command is launcher-level or watcher-level.
  4. Inspect current config relevant to that failure.
  5. Read watcher logs or gateway output.
  6. Check bridge endpoint path and token if notifications or approvals are involved.
  7. Only then inspect code.

Report the first verified failing boundary, not every possible theory.

Common failure patterns

Local command run in remote mode

Symptoms:

  • audit, harden, monitor, or rollback rejected
  • output says the command is only available in local mode

Fix:

  • rerun on the local instance
  • verify CLAWKEEPER_MODE or config mode if behavior is unexpected

gateway.mode mismatch

Symptoms:

  • local launch behaves like plain or wrong mode
  • local-only watcher behavior does not appear

Fix:

  • set clawkeeper local config set gateway.mode local
  • restart the local mode process

Wrong route when testing context judgment

Symptoms:

  • request sent to bands instead of watcher
  • remote judgment appears missing

Fix:

  • use POST /plugins/clawkeeper-watcher/context-judge for watcher judgment
  • use clawkeeper-bands only for the receiving-side bridge and approval surface

Bridge configured but notifications do not arrive

Symptoms:

  • startup audit or approval summary never reaches user-side gateway

Check:

  • bridge enabled
  • bridge url
  • bridge token
  • receiving gateway has clawkeeper-bands installed
  • user-side receiver path exists and gateway is reachable

Logs exist but the wrong file is inspected

Symptoms:

  • "no events" while watcher is active

Check:

  • today vs explicit --date
  • current mode and workspace
  • whether the command is reading watcher event logs or launcher stdout

Use:

bash
clawkeeper local clawkeeper-watcher log-path
clawkeeper local clawkeeper-watcher logs --all
clawkeeper local clawkeeper-watcher logs --date YYYY-MM-DD

Audit result interpreted as host hardening

Symptoms:

  • user expects firewall, SSH, or OS policy changes

Clarify:

  • Clawkeeper watcher audits and hardens OpenClaw-side runtime state
  • it does not automatically perform generic host OS hardening

Command accuracy guardrails

Do not invent flags or routes. Prefer commands already documented in:

  • README.md
  • plugins/clawkeeper-watcher/README.md
  • clawkeeper/src/cli.ts

Current launcher surface:

  • clawkeeper init <mode>
  • clawkeeper status
  • clawkeeper remote ...
  • clawkeeper local ...

Current watcher CLI surface includes:

  • audit
  • harden
  • monitor
  • rollback
  • status
  • logs
  • log-path
  • scan-skill
  • fingerprints
  • profiles

Response expectations

When using this skill:

  • State whether the issue is launcher, watcher, or bridge related.
  • State whether it is remote, local, or cross-mode.
  • Show the exact command you used to validate the issue.
  • Separate verified facts from inference.
  • Prefer the narrowest fix that matches the failing boundary.

Perguntas frequentes

O que a habilidade de IA Clawkeeper faz?

Install, configure, verify, and debug the Clawkeeper watcher stack in this workspace. Use when a user asks to set up `clawkeeper`, initialize `remote` or `local` mode, enable `clawkeeper-watcher`, wire `clawkeeper-bands`, diagnose `context-judge` routing, inspect watcher logs, fix mode/config mismatches, or troubleshoot startup, audit, hardening, rollback, drift monitoring, or bridge notification issues.

Por que usar Clawkeeper no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Clawkeeper é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Clawkeeper no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/SafeAI-Lab-X/ClawKeeper/tree/main/legacy/clawkeeper-watcher/skills/clawkeeper. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Clawkeeper?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Clawkeeper?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Clawkeeper com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Clawkeeper é gratuita?

A habilidade é publicada no GitHub por SafeAI-Lab-X. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇