← 返回
开发者工具 中文

Knowledgebase Share

Operate a multi-agent shared knowledge layer backed by one GitHub repository. Use when setting up shared/private knowledge folders, enforcing branch+PR workf...
管理基于 GitHub 仓库的多智能体共享知识层。用于设置共享/私有知识文件夹,以及强制执行分支与 PR 工作流……
reed1898
开发者工具 clawhub v0.3.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 801
下载
💾 11
安装
1
版本
#latest

概述

Knowledgebase Share

Use this skill as the single operating system for multi-agent knowledge storage.

Privacy rule (critical)

This is a reusable/public skill. Never hardcode user-specific repo URLs, paths, or secrets in SKILL.md.

Always read config from references/kb-config.json (or user-provided override) before executing.

Required config

Read references/kb-config.json first.

Fields:

  • repo_url: canonical GitHub repo URL for knowledge storage
  • local_path: local clone path
  • branch: default branch (usually main)
  • private_root: private notes root folder (default private)
  • shared_root: shared notes root folder (default shared)

Repository model

<knowledge-repo>/
  private/<agent>/
  shared/
    00_rules/
    10_projects/
    20_research/
    30_decisions/
    40_playbooks/
    90_archive/
  meta/
  templates/

Branch model

  • main: stable shared knowledge
  • agent/: per-agent working branch
  • Shared knowledge enters main only via PR

Operating rules

  1. Pull/rebase before writing: git pull --rebase origin
  2. Keep private drafts in private//
  3. Promote reusable content to shared/ via PR
  4. Never force-push main
  5. No secrets/tokens in repository content
  6. Resolve conflicts by preserving both versions first, then refactor

Standard flows

A) Agent daily write (private)

  1. checkout agent/
  2. write to //...
  3. commit + push branch

B) Promote to shared knowledge

  1. copy/refine note into /...
  2. commit on agent/
  3. open PR to main
  4. merge after review

C) Consume latest shared knowledge

  1. checkout local branch
  2. git fetch origin
  3. rebase from latest main

Minimal commands (template)

# first-time clone
git clone <repo_url> <local_path>

# create agent branch
cd <local_path>
git checkout -b agent/<name>

# sync branch
git pull --rebase origin agent/<name>

# push updates
git push origin agent/<name>

Boundary

  • This skill governs knowledge layer operations only.
  • Constitution / hard governance rules are maintained in the independent constitution system.

版本历史

共 1 个版本

  • v0.3.2 当前
    2026-03-30 01:54 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,526
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,472
productivity

Reminder

reed1898
捕获自然语言事件,保存至工作区,安排 Telegram 提醒,自动 cron 通知并查询即将到来的事件。
★ 9 📥 10,399