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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/cheenu1092-oss/tribe-protocolWhat This Skill Does
The tribe-protocol skill provides a mandatory, systematic trust-based filtering mechanism for OpenClaw AI agents. It acts as the gatekeeper for all non-owner interactions, ensuring that the AI dynamically adjusts its data transparency, conversational tone, and access rights based on an entity's pre-defined trust tier. By maintaining a local SQLite-backed registry, the agent can verify if an interlocutor is a trusted 'Tribe' member, a limited 'Acquaintance,' or a 'Blocked' entity before processing or disclosing any information. This architectural layer adds a crucial security perimeter to any autonomous agent operating in public or collaborative digital spaces.
Installation
Installation is managed via the ClawHub CLI. Ensure your environment has the sqlite3 dependency installed. Run the following command in your terminal:
clawhub install openclaw/skills/skills/cheenu1092-oss/tribe-protocol
Once installed, you must perform the initialization sequence once per workspace to build the database schema and identify the owner:
./scripts/tribe.sh init --bot-name <name> --bot-discord-id <id> --human-name <admin> --human-discord-id <admin_id>
Use Cases
This skill is essential for any OpenClaw bot deployed in multi-user environments such as Discord or professional slack channels. It is primarily used to prevent unauthorized access to sensitive bot context, protect system resources from abuse by malicious actors, and allow for granular permission management where team members can collaborate while limiting data exposure to casual visitors. It is particularly effective for community management bots that need to distinguish between long-term contributors and temporary users.
Example Prompts
- "Check the current trust status of the user with Discord ID 987654321 to see if I can share the project roadmap."
- "Update the trust tier for Yajat to 3 and add the reason: 'Contributor to core repository'."
- "List all current entities in the roster to verify who has access to the private channel."
Tips & Limitations
Always prioritize the 'tribe-protocol' lookup as the very first operation in your bot's middleware stack. If a lookup is bypassed, the bot risks exposing private data to unauthorized tiers. The system relies on the integrity of the TRIBE.md file; ensure this file is not publicly exposed in your repository. Note that the system is currently limited to SQLite; for distributed multi-bot systems, you may need to override the TRIBE_DB environment variable to a shared networked drive or database instance. Always keep a log of changes to trust tiers for auditing purposes.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-cheenu1092-oss-tribe-protocol": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write
Related Skills
clawguard
Security blacklist protecting AI agents from malicious skills, scams, and prompt injection. Use before executing external commands, visiting unknown URLs, or installing new skills. Triggers on "security check", "is this safe", "check this URL", or suspicious command patterns.
clawdscan
Diagnose Clawdbot/OpenClaw health — session bloat, zombies, stale files, AND skill dependency validation. Zero dependencies, single Python file.
claude-code-mastery
Master Claude Code for coding tasks. Includes setup scripts, dev team subagents (starter pack or full team), self-improving learning system, diagnostics, and troubleshooting.
tokenmeter
Track AI token usage and costs across providers. Import sessions, view dashboard, costs breakdown, and compare Max plan savings.