fewer-permission-prompts

fewer-permission-prompts is a skill for Claude Code from imMamdouhaboammar/get-fable. It costs 18 tokens per session (2,144 once invoked), scanned B, a copy of fewer-permission-prompts, MIT.

A skill that reviews command-line and connector calls from past agent sessions and recommends permission rules for commonly repeated, mainly read-only actions. It then adds those rules to the project's .claude/settings.json file.

In plain words
What is it for?
Use it to inspect recent session transcripts, count recurring Bash and connector calls, and update project permission settings with prioritized allowlist entries.
Why use it?
Repeated permission prompts interrupt routine work. An allowlist based on actual usage can reduce that interruption while keeping the recommendations focused on read-only commands.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the get-fable plugin — 78 skills, 1 agent, 5 hooks shipped together

Good fit Use it to inspect recent session transcripts, count recurring Bash and connector calls, and update project permission settings with prioritized allowlist entries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/immamdouhaboammar/get-fable/fewer-permission-prompts
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add imMamdouhaboammar/get-fable --skill fewer-permission-prompts
Clone the repo
git clone --depth 1 https://github.com/imMamdouhaboammar/get-fable

Made for: Claude Code.

Or install get-fable, the plugin that ships this one along with the rest of its 78 skills, 1 agent, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fewer-permission-prompts

README.md
[![agentmods](https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fewer-permission-prompts/github.svg)](https://agentmods.dev/skills/immamdouhaboammar/get-fable/fewer-permission-prompts)
Your own site
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/fewer-permission-prompts"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fewer-permission-prompts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fewer-permission-prompts

Your own site · 80×15
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/fewer-permission-prompts"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fewer-permission-prompts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,144 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.02144
Opus 5 $0.00009 $0.01072
Sonnet 5 $0.00004 $0.00429
Haiku 4.5 $0.00002 $0.00214

Measured 12d ago against content hash 73032b66448e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

fewer-permission-prompts scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

8. **Merge into `.claude/settings.json`** in the current project (not `~/.claude/settings.json`, not `.claude/settings.local.json`). Create the file if it doesn't exist. Preserve existing keys and existing entries in `pe
Origin

This is a copy

91% identical to fewer-permission-prompts — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/skills/claude-code/fewer-permission-prompts/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fewer Permission Prompts

Look through my transcripts' MCP and bash tool calls, and based on those, make a prioritized list of patterns that I should add to my permission allowlist to reduce permission prompts. Focus on read-only commands.

The format for permissions is: Bash(foo*), Bash(foo), Bash(foo bar *), mcp__slack__slack_read_thread, etc.

Then, add these to the project .claude/settings.json under permissions.allow.

Steps

  1. Locate transcripts. Session transcripts live at ~/.claude/projects/<sanitized-cwd>/*.jsonl. Each line is a JSON object. Tool calls appear as assistant messages with message.content[] entries of type: "tool_use". The name field identifies the tool (e.g. "Bash", "mcp__slack__slack_read_thread"); for Bash, input.command is the shell string.

    Scan the recent transcripts across the user's projects dir — not just the current project — so the allowlist reflects their actual usage. Cap the scan at a reasonable number of recent sessions (e.g. 50 most-recently-modified JSONL files) so this stays fast.

  2. Extract tool-call frequencies.

    • For Bash calls: parse input.command, take the leading command token (handling sudo, timeout, pipes, &&, env-var prefixes). Record the command + first subcommand pair (e.g. git status, gh pr view, ls, cat).
    • For MCP calls: record the full tool name (e.g. mcp__slack__slack_read_thread).
    • Count occurrences across the scanned transcripts.
  3. Filter to read-only. Keep only commands that don't mutate state. Examples of read-only: ls, cat, pwd, git status, git log, git diff, git show, git branch, rg, grep, find, head, tail, wc, file, which, echo, date, gh pr view, gh pr list, gh pr diff, gh issue view, gh issue list, gh run list, gh run view, gh api (GET), bun run typecheck, bun run lint, bun run test (for tests that don't mutate), docker ps, docker logs, kubectl get, kubectl describe, ps, top, df, du, env, printenv, any MCP tool with read/get/list/search/view in its name.

Read the full file on GitHub · 69 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 69 lines · 18 tokens per session scan B 73032b66448e

Subscribe to this mod's changes

fewer-permission-prompts is a skill published in the GitHub repository imMamdouhaboammar/get-fable (4 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 2,144 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). It is 91% identical to fewer-permission-prompts, differing in 7 lines, and is treated as a copy.

Related

Other skills, from other repositories

starting-a-new-project

Use when the workspace is empty — no code yet — and the user brings a raw idea: the brand-new branch of setting-up-a-project, normally reached via that dispatcher, directly only when the situation is unmistakable. Not for features in an existing project — use brainstorming instead.

JetBrains/thinkrail · 61 tokens

todos

This chat has a shared, live TODO plan — your tasks for the conversation, which the user also edits. Read this skill and reach for the todo tools whenever a request takes more than a couple of steps. It covers the plan model (group = task, items = its steps; loose items are the user's lane), how to work it: propose…

JetBrains/thinkrail · 127 tokens

writing-workflow-skills

Use when adding a new workflow skill to pi-thinkrail-workflow, changing an existing workflow skill's role, trigger, handoff, or structure, or checking a workflow skill against the workflow system's rules. Not for authoring general-purpose skills outside this package.

JetBrains/thinkrail · 60 tokens

brainstorming

Use this BEFORE any creative or feature work: building a new feature, adding functionality, changing behavior, or making a nontrivial design decision. Turns the user's request into a validated design — recorded as a spec-graph task-spec — before any implementation. Do not skip this because a change looks small.

JetBrains/thinkrail · 65 tokens

reviewing-changes

Use when a review package asks you to review a plan step's change set (todo.startReview): you are the REVIEWER, not the author. How to judge an agent-written diff, file findings with addreviewcomment, and settle with exactly one reviewverdict.

JetBrains/thinkrail · 59 tokens

spec-graph

The project's specs are its ground truth: durable documents describing the architecture, decisions, contracts, and boundaries behind the code, organized as a connected graph. Read this skill and reach for the spec tools FIRST — before reading code — whenever you explore the project, plan or start a task, add or change…

JetBrains/thinkrail · 97 tokens