← 返回 Skills 市场
cheenu1092-oss

Tribe Protocol

作者 cheenu1092-oss · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
1202
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install tribe-protocol
功能描述
MANDATORY trust lookup for every non-owner interaction. Query tribe.db to check entity trust tier, channel access, and data boundaries before responding. Run 'tribe init' on first install. Use 'tribe lookup <discord_id>' before every non-owner response.
安全使用建议
What to check before installing or running Tribe Protocol: - Confirm the sqlite3 dependency: SKILL.md/README reference sqlite3 but registry metadata shows none. Ensure sqlite3 is present and the scripts use it as expected. - Inspect scripts before use: review scripts/init.sh, scripts/lookup.sh, scripts/lib/db.sh and any shell code for network calls, curl/wget/ssh or execution of downloaded content. Run them in a safe/test environment first. - Review what will be written to disk: the skill creates ~/clawd/tribe/tribe.db and ~/clawd/TRIBE.md. TRIBE.md may be loaded into the agent's system prompt (per README) — avoid placing secrets in it. Consider restricting TRIBE.md content to non-sensitive mappings only. - Clarify cryptography plans: the repo contains v3 design docs that describe keypairs and storing private keys under ~/.clawd/keys. Determine whether any shipped scripts will generate or ask you to import private keys; if so, verify key handling (file permissions, no exfil via network) before enabling. - Test in an isolated account or VM: because the skill enforces mandatory lookup behavior, test how it behaves when the DB or TRIBE.md is missing or corrupted so it can't unexpectedly block legitimate interactions. - If you will rely on this for safety: ask the maintainer which files are authoritative and whether any future updates will add network components (e.g., DID fetches); prefer a minimal config file (Discord ID → tier) over enabling the cryptographic modes unless you understand the key exchange process. If you want, I can scan the specific shell scripts (init.sh, lookup.sh, lib/db.sh) for network operations and risky commands and point out exact lines to review.
功能分析
Type: OpenClaw Skill Name: tribe-protocol Version: 1.0.1 This skill bundle is designed to implement a trust lookup system for OpenClaw bots, focusing on identity verification, trust tiers, and data access controls. The `SKILL.md` and `README.md` contain instructions for the AI agent to perform mandatory trust lookups using `scripts/tribe.sh lookup <discord_id>` before responding to non-owner messages. While these instructions constitute a form of prompt injection, their clear intent is to enforce a security policy (trust boundaries and data privacy), not to subvert the agent for malicious purposes. The shell scripts primarily interact with a local SQLite database (`~/clawd/tribe/tribe.db`), employ basic SQL input sanitization (`sql_escape`, numeric validation for Discord IDs), and do not exhibit signs of data exfiltration, malicious remote execution, persistence, or obfuscation. Although a JavaScript design sketch (`legacy/tribe-protocol-examples/implementation-sketch.js`) includes `fetch` calls to external DID document URLs, this is a conceptual example for a future identity verification feature and not part of the active shell script implementation, which currently lacks external network communication.
能力评估
Purpose & Capability
The skill is described as a local trust lookup / privacy-enforcement tool and the repository contains local CLI scripts, DB schema and docs that implement that. However metadata/requirements are inconsistent: the registry lists no required binaries/env but the README/SKILL.md declare sqlite3 and environment variables (TRIBE_DB, CLAWD_HOME). The presence of many crypto design docs (v3) describing private key storage is plausible for future versions but is not reflected in registry requirements — this mismatch should be clarified.
Instruction Scope
SKILL.md instructs the agent to run './scripts/tribe.sh lookup <discord_id>' before every non-owner response and to read TRIBE.md at workspace root; that behavior is coherent with the stated purpose (enforce trust tiers & data boundaries). Two things to watch: (1) TRIBE.md is claimed to be loaded into the system prompt and 'survives context compaction' — if true, that makes any sensitive mappings persisted in the model's prompt (increasing exposure); (2) the skill will read/write files under ~/clawd and create a sqlite DB, so it gains persistent local state (expected for this functionality, but worth reviewing contents of those files).
Install Mechanism
No external install spec is provided (no downloads or remote installers), which is low-risk. The skill ships with many local shell scripts and SQL seeds; nothing in the manifest indicates it will fetch arbitrary remote code on install. Still verify the scripts (lookup.sh, init.sh, lib/db.sh) before running to confirm they perform only local DB/file operations and no unexpected network calls.
Credentials
The skill requests no secrets or external credentials in registry metadata, which matches its local DB design. SKILL.md does mention TRIBE_DB and CLAWD_HOME as configurable environment variables (reasonable). There are no declared requests for unrelated credentials (AWS keys, Discord tokens, etc.). However the repo includes design docs describing storing private keys and a keystore in ~/.clawd/keys for a v3 cryptographic mode — that would require sensitive key storage if enabled; currently that appears to be design material rather than required input, but you should confirm whether any scripts will prompt for or create private keys.
Persistence & Privilege
The skill is not force-included (always:false) and allows user invocation/autonomous invocation (platform default). It creates persistent artifacts (~/clawd/tribe/tribe.db and ~/clawd/TRIBE.md) and expects TRIBE.md to be included in the agent's system prompt per README. That persistent presence is expected for this use case but increases the blast radius of any sensitive data placed in TRIBE.md or the DB. No evidence the skill modifies other skills' configs or requests elevated system privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tribe-protocol
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tribe-protocol 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Tagged electron-essential, updated README with ClawHub install
v1.0.0
v1.0.0: SQLite-based trust lookup for OpenClaw bots — 9 tables, 13 CLI scripts, compaction-resistant TRIBE.md
元数据
Slug tribe-protocol
版本 1.0.1
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Tribe Protocol 是什么?

MANDATORY trust lookup for every non-owner interaction. Query tribe.db to check entity trust tier, channel access, and data boundaries before responding. Run 'tribe init' on first install. Use 'tribe lookup <discord_id>' before every non-owner response. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1202 次。

如何安装 Tribe Protocol?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install tribe-protocol」即可一键安装,无需额外配置。

Tribe Protocol 是免费的吗?

是的,Tribe Protocol 完全免费(开源免费),可自由下载、安装和使用。

Tribe Protocol 支持哪些平台?

Tribe Protocol 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Tribe Protocol?

由 cheenu1092-oss(@cheenu1092-oss)开发并维护,当前版本 v1.0.1。

💬 留言讨论