/lc-advanced-skills:init-feedbackfrom lc-advanced-skills
Sets up interactive feedback channels for LimaCharlie ext-feedback, configuring web, Slack, Telegram, Microsoft Teams, and email channels, and optionally creates a D&R rule for approval-gated containment.
Ships in lc-advanced-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Set up interactive feedback channels for human-in-the-loop workflows in LimaCharlie. This skill subscribes to the ext-feedback extension, configures one or more channels, and optionally creates a sample D&R rule demonstrating approval-gated containment.
Prerequisites: Run
/init-lcto initialize LimaCharlie context.
All LimaCharlie operations use the limacharlie CLI directly:
limacharlie <noun> <verb> --oid <oid> --output yaml [flags]
For command help and discovery: limacharlie <command> --ai-help
| Rule | Wrong | Right |
|---|---|---|
| CLI Access | Call MCP tools or spawn api-executor | Use Bash("limacharlie ...") directly |
| Output Format | --output json | --output yaml (more token-efficient) |
| Filter Output | Pipe to jq/yq | Use --filter JMESPATH to select fields |
| OID | Use org name | Use UUID (call limacharlie org list if needed) |
| Component | Type | Purpose |
|---|---|---|
| ext-feedback subscription | Extension | Enables feedback requests for the org |
| Channel(s) | Extension config | One or more feedback channels (web, slack, telegram, ms_teams, email) |
| Tailored Output(s) | Output | Credentials for non-web channels (Slack token, Telegram bot, etc.) |
| Sample D&R rule (optional) | dr-general | Demonstrates approval-gated containment |
| Type | Requirements | In-Chat Buttons |
|---|---|---|
web | None (built-in UI, returns a shareable URL) | N/A |
slack | Slack App with Interactivity enabled, Bot User OAuth Token, channel ID | Yes |
telegram | Telegram bot (via @BotFather), bot token, chat ID | Yes |
ms_teams | Power Automate Workflow webhook URL | No (links to web UI) |
email | SMTP server, credentials, recipient address | No (links to web UI) |
Parse the org name from the skill argument. Resolve it to an OID:
limacharlie org list --output yaml
Find the org matching the name provided by the user and extract its oid UUID. If not found, ask the user which org to use.
Check if ext-feedback is already subscribed:
limacharlie extension list --oid <oid> --output yaml
Look for ext-feedback in the output. If missing, subscribe:
limacharlie extension subscribe --name ext-feedback --oid <oid>
On subscription, the extension automatically creates a webhook adapter and a D&R rule for routing feedback responses. No manual setup is needed for these.
List any channels already configured:
limacharlie feedback channel list --oid <oid> --output yaml
Show the user what already exists (if anything) before adding new channels.
Ask the user which channel types they want to set up. Present the options:
The user can choose one or more. Always recommend starting with web since it requires no external setup.
For each selected channel type, follow the appropriate setup below.
No credentials needed. Just add the channel:
limacharlie feedback channel add --name web --type web --oid <oid> --output yaml
Ask the user for:
xoxb-. The bot must:
https://feedback-system.limacharlie.io/callback/slackchat:write scope#security-ops or C0123456789)slack-ops)feedback-slack). If the user already has a suitable Slack Tailored Output, they can reuse it.Create a YAML config file and create the Tailored Output:
cat > /tmp/feedback-slack-output.yaml << 'EOF'
slack_api_token: "<SLACK_BOT_TOKEN>"
slack_channel: "<SLACK_CHANNEL>"
EOF
limacharlie output create \
--name <output_name> \
--module slack \
--type tailored \
--input-file /tmp/feedback-slack-output.yaml \
--oid <oid> --output yaml
Add the channel:
limacharlie feedback channel add --name <channel_name> --type slack --output-name <output_name> --oid <oid> --output yaml
Ask the user for:
123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11). The bot must be added to the target group/channel.-1001234567890). The user can find this by sending a message to the group after adding the bot, then checking https://api.telegram.org/bot<TOKEN>/getUpdates for the chat.id field.telegram-ops)feedback-telegram)Create a YAML config file and create the Tailored Output:
cat > /tmp/feedback-telegram-output.yaml << 'EOF'
bot_token: "<BOT_TOKEN>"
chat_id: "<CHAT_ID>"
EOF
limacharlie output create \
--name <output_name> \
--module telegram \
--type tailored \
--input-file /tmp/feedback-telegram-output.yaml \
--oid <oid> --output yaml
Add the channel:
limacharlie feedback channel add --name <channel_name> --type telegram --output-name <output_name> --oid <oid> --output yaml
Note: The extension automatically registers a Telegram webhook with the bot. If the bot is used for other webhook integrations, this will override the existing webhook. Recommend a dedicated bot for ext-feedback.
Ask the user for:
teams-ops)feedback-teams)Create a YAML config file and create the Tailored Output:
cat > /tmp/feedback-teams-output.yaml << 'EOF'
webhook_url: "<WEBHOOK_URL>"
EOF
limacharlie output create \
--name <output_name> \
--module ms_teams \
--type tailored \
--input-file /tmp/feedback-teams-output.yaml \
--oid <oid> --output yaml
Add the channel:
limacharlie feedback channel add --name <channel_name> --type ms_teams --output-name <output_name> --oid <oid> --output yaml
Ask the user for:
smtp.example.com:587). Defaults to port 587.[email protected])[email protected])username field)email-ops)feedback-email)Create a YAML config file and create the Tailored Output (adjust fields based on whether auth is needed):
cat > /tmp/feedback-email-output.yaml << 'EOF'
dest_host: "<SMTP_HOST>"
dest_email: "<RECIPIENT_EMAIL>"
from_email: "<FROM_EMAIL>"
username: "<USERNAME>"
password: "<PASSWORD>"
EOF
limacharlie output create \
--name <output_name> \
--module smtp \
--type tailored \
--input-file /tmp/feedback-email-output.yaml \
--oid <oid> --output yaml
Omit username and password from the config file if no SMTP authentication is needed.
Add the channel:
limacharlie feedback channel add --name <channel_name> --type email --output-name <output_name> --oid <oid> --output yaml
After configuring each channel, send a test feedback request to verify it works:
limacharlie feedback request-approval \
--channel <channel_name> \
--question "Test: Is this feedback channel working?" \
--destination case --case-id 0 \
--oid <oid> --output yaml
For web channels, the response includes a url — show the user the URL so they can verify the web UI renders correctly.
For Slack/Telegram channels, ask the user to confirm the message appeared in their channel.
If the test fails, check limacharlie org errors --oid <oid> --output yaml for error details.
Ask the user if they want a sample D&R rule that demonstrates human-in-the-loop approval. If yes:
Explain: this rule detects a specific event and sends a feedback request to a channel asking for approval before taking action. The response can be dispatched to a playbook (triggers it), a case (adds a note), or an ai_agent (starts an AI session with the feedback response). This is a template — the user should customize the detection logic and response actions.
Use the AI generation commands to build the rule. The response component should use extension request to ext-feedback:
limacharlie ai generate-response --description "Send a feedback approval request to ext-feedback on channel '<channel_name>' asking whether to isolate the host. Use feedback_destination playbook with playbook_name 'feedback-response-handler'. Include the routing.sid in approved_content. Set timeout_seconds to 300 with timeout_choice denied." --oid <oid> --output yaml
Validate the generated rule before deploying:
limacharlie dr validate --detect /tmp/detect.yaml --respond /tmp/respond.yaml --oid <oid>
Deploy with user approval:
limacharlie dr set --key sample-feedback-approval --input-file /tmp/rule.yaml --oid <oid>
Important: Remind the user that this sample rule needs a corresponding playbook (feedback-response-handler) to act on the approval/denial response. Without the playbook, the response is recorded but no action is taken.
# Verify extension is subscribed
limacharlie extension list --oid <oid> --output yaml | grep ext-feedback
# Verify channels exist
limacharlie feedback channel list --oid <oid> --output yaml
# Check for org errors
limacharlie org errors --oid <oid> --output yaml
Summarize what was created:
Remind the user:
limacharlie feedback --ai-help for the full CLI reference.To remove all feedback components:
# Remove channels
limacharlie feedback channel list --oid <oid> --output yaml
# For each channel:
limacharlie feedback channel remove --name <channel_name> --oid <oid> --output yaml
# Remove Tailored Outputs (optional — user may want to keep for other uses)
limacharlie output delete --name <output_name> --confirm --oid <oid> --output yaml
# Remove sample D&R rule (if created)
limacharlie dr delete --key sample-feedback-approval --oid <oid>
# Unsubscribe extension (removes webhook adapter and routing rule automatically)
limacharlie extension unsubscribe --name ext-feedback --oid <oid>
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub refractionpoint/lc-ai --plugin lc-advanced-skills16 skills in this plugin
/adapter-assistantComplete adapter lifecycle assistant for LimaCharlie. Supports External Adapters (cloud-managed), Cloud Sensors (SaaS/cloud integrations), and On-prem USP adapters. Dynamically researches adapter types from local docs and GitHub usp-adapters repo. Creates, validates, deploys, and troubleshoots adapter configurations. Handles parsing rules (Grok, regex), field mappings, credential setup, and multi-adapter configs. Use when setting up new data sources (Okta, S3, Azure Event Hub, syslog, webhook, etc.), troubleshooting ingestion issues, or managing adapter deployments./doc-updaterDeploy and manage a daily AI agent that automatically updates GitHub documentation for a LimaCharlie organization. The agent collects org config, diffs against previous state, analyzes changes with full case/session context, renders Jinja2 templates, and pushes annotated updates to a GitHub repo. Templates are read from the lc-ai repo or a user-provided custom repo — no payloads needed. Use for "deploy doc updater", "set up automatic documentation", "install doc-updater agent", "update docs agent"./fp-pattern-finderAutomatically detect false positive patterns in detections using deterministic analysis. Fetches historic detections for a time window, runs pattern detection script to identify noisy patterns (single-host concentration, identical command-lines, service accounts, same hash, temporal periodicity, etc.), generates narrow FP rules for each pattern, and presents for user approval before deployment. Use for bulk FP tuning, detection noise analysis, or automated alert fatigue reduction./graphic-outputGenerate interactive HTML dashboards and visualizations from LimaCharlie data using Jinja2 templates and D3.js charts. Creates professional, self-contained HTML reports with pie charts, bar charts, line graphs, gauges, sortable tables, and responsive layouts. Supports MSSP multi-tenant dashboards, single-org details, sensor health reports, detection analytics, and billing summaries. Integrates with reporting, sensor-health, and detection-engineering skills. Built with strict data accuracy guardrails - NEVER fabricates, estimates, or infers data. Use for "visual report", "dashboard", "HTML output", "interactive charts", "export HTML", "generate visualization", "graphical report".
/init-cases-to-slackSet up automated Slack notifications for LimaCharlie case events. Creates a Python playbook, D&R rules, API key, and secrets so that case creations, resolutions, severity upgrades, and closures post rich messages to a Slack channel. Usage - /init-cases-to-slack <org_name>/lc-deployerREQUIRED for ANY operation involving ai-team or ai-agent definitions: deploy, install,
update, upgrade, remove, push, sync, or modify AI agents and Agentic SOC configurations
in a LimaCharlie organization. This includes modifying agent prompts, updating hive
configs (ai_agent, dr-general), managing API keys and secrets, subscribing to extensions,
and pushing changes after editing source YAML files in ai-teams/ or ai-agents/ directories.
Trigger words: ai-team, ai-agent, ai_agent hive, deploy SOC, install agent, push agent,
update agent, sync agent, baselining-soc, tiered-soc, lean-soc, exposure-team, intel-team,
l1-bot, general-analyst, bulk-triage, l2-analyst, malware-analyst, containment,
threat-hunter, soc-manager, shift-reporter. Examples: "deploy tiered-soc to my org",
"install lean-soc", "update the l1-bot agent", "push agent changes to the org",
"remove the tiered SOC", "modify the bulk-triage prompt".
Other plugins' skills for the same job