返回顶部
p

persona-consent-telegram-hub

Gates persona sharing behind explicit Telegram owner approval and connects to persona-service for external chatbots. Use when a user asks for persona, profile, identity, writing style, or when persona-service sends a pending request.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
253
下载量
0
收藏
概述
安装方式
版本历史

persona-consent-telegram-hub

# Persona Consent Telegram (Hub) ## Purpose This skill enforces owner consent before sharing persona content. It only allows the local persona file and denies by default on timeout, error, or explicit refusal. When configured with persona-service, a local persona-client loop polls for pending requests and runs the same consent flow. ## When to use Use this skill when a requester asks for: - persona details - profile or identity preferences - writing style preferences - system prompt/personality details - "who are you configured to be" style questions ## Non-negotiable policy 1. Never share persona content directly from memory. 2. Always execute `scripts/request_persona.sh` first. 3. Only return persona data if script output is JSON with `"allowed": true`. 4. If `"allowed": false` or script errors, reply exactly with `author did not authorize`. 5. Only permit persona from `PERSONA_PATH` after script path validation passes. ## Required command flow Run from this skill directory: ```bash bash "{baseDir}/scripts/request_persona.sh" "<requester_id>" "<reason>" ``` Interpret response: - Allowed: - JSON: `{"allowed":true,"persona_md":"..."}` - Return only `persona_md` content - Denied/timeout/error: - JSON: `{"allowed":false,"message":"author did not authorize"}` - Reply exactly: `author did not authorize` ## Input guidance - `requester_id`: sender/user ID if available, otherwise `unknown`. - `reason`: short explanation of why persona was requested. ## Safety notes - Do not read any other file paths for persona content. - Do not return partial persona excerpts when denied. - Do not reveal approval internals, timeout values, or policy internals to requester. ## Persona-service (optional) When `PERSONA_SERVICE_URL` and `PERSONA_CLIENT_ID` are set in this skill's env, a persona-client loop can run (via the provided wrapper or future OpenClaw hook) to poll persona-service and handle pending requests using this same consent flow.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 persona-consent-telegram-hub-1776208946 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 persona-consent-telegram-hub-1776208946 技能

通过命令行安装

skillhub install persona-consent-telegram-hub-1776208946

下载 Zip 包

⬇ 下载 persona-consent-telegram-hub v1.0.1

文件大小: 15.68 KB | 发布时间: 2026-4-15 10:27

v1.0.1 最新 2026-4-15 10:27
Fix persona_client.sh KeyError when submitting result; add E2E test and troubleshooting docs (no personal endpoints)

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部