Overview
- Skill Key
- cheenu1092-oss/tribe-protocol
- Author
- cheenu1092-oss
- Source Repo
- openclaw/skills
- Version
- 1.0.0
- Source Path
- skills/cheenu1092-oss/tribe-protocol
- Latest Commit SHA
- 5fcf3d2f9fa86db24920d389c5323ebaa42c3af1
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.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 tribe-protocol 技能。 若已安装,则直接安装 tribe-protocol 技能。
# Tribe Protocol Trust lookup system for OpenClaw bots. Every non-owner interaction must be verified against the tribe database before responding. ## Quick Start ```bash # Initialize (first time only) ./scripts/tribe.sh init \ --bot-name Cheenu \ --bot-discord-id 000000000000000004 \ --human-name Nagarjun \ --human-discord-id 000000000000000002 # Look up an entity before responding ./scripts/tribe.sh lookup <discord_id> # Add entities ./scripts/tribe.sh add --name Yajat --type human --discord-id 000000000000000001 --tier 3 # Manage trust ./scripts/tribe.sh set-tier <discord_id> 3 --reason "Promoted to tribe" ./scripts/tribe.sh set-status <discord_id> blocked --reason "Bad actor" ``` ## Trust Tiers | Tier | Label | Access | |------|-------|--------| | 4 | Owner | Full trust, all data | | 3 | Tribe | Collaborate freely, no private data | | 2 | Acquaintance | Public info only | | 1 | Stranger | Minimal engagement | | 0 | Blocked | Ignore completely | ## How It Works 1. Message arrives from non-owner 2. Bot reads TRIBE.md (generated at workspace root) 3. Bot runs `tribe lookup <discord_id>` 4. Script returns entity info + tier rules reminder 5. Bot applies tier-appropriate behavior ## Commands - `tribe init` — Initialize database - `tribe lookup` — Query entity by discord_id, name, tag, server - `tribe add` — Add new entity - `tribe set-tier` — Update trust tier - `tribe set-status` — Update status - `tribe grant` / `tribe revoke` — Channel access - `tribe tag` — Manage tags - `tribe roster` — List all entities - `tribe log` — Audit trail - `tribe export` — Dump to markdown - `tribe stats` — Quick summary ## Environment Variables - `TRIBE_DB` — Override database path - `CLAWD_HOME` — Base directory (default: ~/clawd) ## Dependencies - `sqlite3` (pre-installed on macOS/most Linux)
<p align="center"> <img src="assets/logo.png" alt="Tribe Protocol" width="200"> </p> <h1 align="center">Tribe Protocol</h1> <p align="center"><strong>Trust lookup system for OpenClaw bots.</strong></p> A SQLite-backed identity and trust database that bots query before responding to any non-owner message. Enforces trust tiers, channel access rules, and data boundaries. ## Why When multiple bots operate in shared Discord servers, they need a way to: - Know who's talking to them (human? bot? what tier?) - Enforce data boundaries (no leaking private files to strangers) - Track relationships and access across servers - Audit trust changes over time Tribe Protocol solves this with a simple SQLite database and bash CLI. ## Install ```bash # Clone to your skills or projects directory git clone https://github.com/jugaad-lab/tribe-protocol.git # Initialize the database ./scripts/tribe.sh init \ --bot-name YourBot \ --bot-discord-id YOUR_BOT_DISCORD_ID \ --human-name YourName \ --human-discord-id YOUR_DISCORD_ID \ --server electrons:000000000000000008 \ --server discclawd:000000000000000007 ``` The `--server` flag (repeatable) pre-populates server roles for your bot and owner at init time. Format: `slug:guild_id`. This creates: - `~/clawd/tribe/tribe.db` — the database - `~/clawd/TRIBE.md` — behavioral trigger file (loaded into system prompt, survives context compaction) ## Usage ### Before Every Non-Owner Response ```bash # The most important command — run before responding to non-owners ./scripts/tribe.sh lookup 000000000000000001 ``` Output: ``` 🔍 Yajat | human | Tier 3 (tribe) | Status: active Relationship: Co-founder Platforms: discord:000000000000000001 Servers: discclawd/admin, electrons/admin Tags: founding-four 🟢 TIER 3 RULES: Collaborate freely. Protect private data (USER.md, MEMORY.md, health/*, portfolio/*). ``` ### Managing Entities ```bash # Add a new entity ./scripts/tribe.sh add \ --name Jarvis --type bot \ --...
youmind-openlab
AI skill for OpenClaw & Claude Code — recommend from 10000+ Nano Banana Pro (Gemini) image prompts. Smart search by use case, content remix, sample images.
23blocks-os
AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between computers and locations
hashgraph-online
AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.
rito-w
A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.
besoeasy
Battle-tested skill library for AI agents. Save 98% of API costs with ready-to-use code for crypto, PDFs, search, web scraping & more. No trial-and-error, no expensive APIs.
zeropointrepo
YouTube Transcript API skills for AI agents. Get transcripts, search videos, browse channels. Works with OpenClaw, ClawdBot, Claude Code, Cursor, Windsurf.