agentleFS
2naive2naive/claude-telegram-topics/skills/allowlist/SKILL.md

allowlist

Skill1 starsChanged 5 months agoApache-2.0View on GitHub

Put this plugin on the Claude Code channels allowlist (managed settings) so `--channels` delivers inbound messages — one command, one admin prompt. Use when preflight reports NOT ALLOWLISTED, when Telegram messages never arrive in sessions although the send tools work, or when the user asks to set up the channels allowlist.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After a successful write, tell the user to restart their Claude Code sessions — the allowlist is read at session start.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Allowlist the channel

--channels wires a channel ONLY for plugins on the approved-channels allowlist; anything else is silently loaded as a plain MCP plugin — outbound tools work, inbound never arrives. This skill approves the plugin in machine-level managed settings. Run:

bun run --cwd "${CLAUDE_PLUGIN_ROOT}" allowlist

(If ${CLAUDE_PLUGIN_ROOT} is not substituted, the plugin root is the installed plugin directory, e.g. ~/.claude/plugins/cache/claude-telegram-topics/telegram-topics/<version>.)

What it does, verbatim from its output:

  • already allowlisted — nothing to change; done.
  • Windows — writes C:\Program Files\ClaudeCode\managed-settings.json; if not elevated it raises one UAC prompt the user must approve at the machine.
  • macOS / Linux — writes the managed-settings path or, on permission denied, prints the exact sudo command for the user to run themselves.
  • The write is merge-safe (existing managed-settings keys and allowlist entries are preserved) and also carries the official Telegram plugin's entry, because a custom allowedChannelPlugins REPLACES the default Anthropic allowlist.

After a successful write, tell the user to restart their Claude Code sessions — the allowlist is read at session start.

No-admin alternative

Without machine admin rights the channel can still run via the development flag, which bypasses the allowlist:

claude --permission-mode auto --dangerously-load-development-channels plugin:telegram-topics@claude-telegram-topics

Trade-off: an interactive "local development" confirmation gates every start — fine for hand-started sessions, unusable for hands-off remote relaunch/autostart. Mention it when the user cannot (or does not want to) approve the admin write.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.