بنقرة واحدة
setup
Configure cc-remote-approval — set up messaging channel for remote approval
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Configure cc-remote-approval — set up messaging channel for remote approval
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | setup |
| description | Configure cc-remote-approval — set up messaging channel for remote approval |
| argument-hint | null |
| user-invocable | true |
| allowed-tools | ["Bash","Read","Write","AskUserQuestion"] |
Help the user configure their messaging channel for remote approval notifications.
The plugin must already be installed. If the user hasn't installed it, walk them through:
/plugin marketplace add Manta-Network/cc-remote-approval
/plugin install cc-remote-approval@manta
/reload-plugins
Then come back here to finish configuration.
Ask which channel they want to use. Currently only Telegram is supported.
For Telegram, ask if they already have a bot token. If not, guide them:
/newbot, follow the prompts123456:ABC-DEF...)Ask for their Telegram chat ID. If they don't know it:
curl -s "https://api.telegram.org/bot<TOKEN>/getUpdates" | python3 -c "import json,sys; u=json.load(sys.stdin)['result']; print(u[-1]['message']['chat']['id']) if u else print('No messages yet — send a message to your bot first')"Ask for escalation delay (default: 20 seconds) — how long to wait locally before sending to the channel
Write the config file:
mkdir -p ~/.cc-remote-approval
cat > ~/.cc-remote-approval/config.json << 'CONF'
{
"channel_type": "telegram",
"bot_token": "<TOKEN>",
"chat_id": "<CHAT_ID>",
"escalation_seconds": 20,
"elicitation_timeout": 60,
"stop_hook_enabled": false,
"stop_wait_seconds": 180,
"context_turns": 3,
"context_max_chars": 200,
"session_hint_enabled": true
}
CONF
chmod 600 ~/.cc-remote-approval/config.json
curl -s -X POST "https://api.telegram.org/bot<TOKEN>/sendMessage" \
-H "Content-Type: application/json" \
-d '{"chat_id": "<CHAT_ID>", "text": "✅ cc-remote-approval connected!"}' | python3 -c "import json,sys; r=json.load(sys.stdin); print('Success!' if r.get('ok') else f'Error: {r}')"
CC_REMOTE_APPROVAL_ prefix/cc-remote-approval:status any time to health-check the channel (bot token valid, chat reachable, recent hook activity).| Field | Default | Description |
|---|---|---|
channel_type | "telegram" | Messaging channel to use |
bot_token | required | Telegram bot token from @BotFather |
chat_id | required | Your Telegram chat ID |
escalation_seconds | 20 | Seconds before escalating to channel |
elicitation_timeout | 60 | Seconds before showing local form for MCP elicitations |
context_turns | 3 | Number of conversation turns to show in context |
context_max_chars | 200 | Max chars per context turn |
stop_hook_enabled | false | Enable Stop hook for remote task continuation (opt-in — blocks Claude Code for stop_wait_seconds between turns). |
stop_wait_seconds | 180 | Seconds to wait for remote instruction before allowing idle (local input in Claude Code releases immediately) |
session_hint_enabled | true | Inject SessionStart hint steering Claude to prefer AskUserQuestion tool for option-picking. Set false to disable. |