Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/Automation & Workflows
rohitg00 avatar

Permission Tuner

rohitg00/pro-workflow

If you're tired of clicking through the same permission prompts over and over, this analyzes your approval patterns and generates alwaysAllow and alwaysDeny rules to cut down the noise. It scans your session data to identify safe read-only operations like file reads and git status that can be auto-approved, flags destructive commands like rm -rf and git push --force for auto-deny, and leaves the risky-but-necessary stuff like commits in ask mode. The workflow is straightforward: it checks your current .claude/settings.json, categorizes operations by risk level, then presents a JSON snippet you can review before applying. Best used after a session where you approved the same operations repeatedly or when starting a new project.

installs
142
GitHub stars
2.9K
last updated
Jun 8, 2026
View on GitHubSave

Install

$ npx -y skills add rohitg00/pro-workflow --skill permission-tuner --agent claude-code

Installs into .claude/skills of the current project.

Files

Permission Tuner

Reduce permission prompts by fixing their causes, not by piling up rules.

Trigger

Use when:

  • Permission prompts interrupt flow repeatedly
  • Auto mode keeps blocking routine work or falls back to prompting everything
  • Starting a new project and want to configure permissions

How Prompts Happen

  • Rules resolve first: deny > ask > allow. A matching ask rule prompts even in auto mode, and a PreToolUse hook returning allow cannot override it.
  • In auto mode, anything no rule resolves goes to a classifier. After 3 blocks in a row or 20 in a session, auto mode pauses and prompts for everything until you approve one.
  • Auto mode drops broad allow rules: Bash(*), wildcarded interpreters like Bash(node *), package-manager run commands, Agent, and Monitor.
  • Hooks that exit 2 on harmless commands count as denials and push the session toward that fallback.

Workflow

Step 1: Gather data

Rules merge across scopes, so check every file that exists, not only the user file. /permissions shows the rules Claude Code actually loaded, and claude auto-mode config shows the effective autoMode (the classifier ignores autoMode in .claude/settings.local.json).

for f in ~/.claude/settings.json .claude/settings.json .claude/settings.local.json; do
  [ -f "$f" ] && jq --arg f "$f" '{file: $f, mode: .permissions.defaultMode, allow: (.permissions.allow|length), ask: (.permissions.ask|length), deny: (.permissions.deny|length), autoMode: (.autoMode != null)}' "$f"
done
claude auto-mode config
ls -t ~/.claude/projects/*/*.jsonl | head -20 | xargs grep -ho '"toolDenialKind":"[^"]*"' | sort | uniq -c | sort -rn

toolDenialKind values seen in transcripts (undocumented, may change): permission-rule (rule or hook), automode-blocked (classifier), automode-parsing-error and automode-unavailable (no verdict, not tunable), user-rejected (you said no).

Step 2: Pick the right fix

SymptomFix
Prompt on something you always approveRemove or narrow the ask rule
permission-rule on a harmless commandFix the hook false positive or narrow the deny rule
Classifier blocks work in your own repos, registries, local servicesAdd an autoMode.environment entry
Classifier blocks one routine patternAdd an autoMode.allow entry
Want outward actions only when you askedAdd an autoMode.soft_deny entry
Want a human check every timeKeep a short permissions.ask rule

Step 3: Generate rules

{
  "permissions": {
    "allow": [
      "Bash(git status)",
      "Bash(npm test)",
      "Bash(npm run lint)"
    ],
    "ask": [
      "Bash(git push --force*)",
      "Bash(git push * main)",
      "Bash(git push * main *)",
      "Bash(git push *:main)",
      "Bash(git push *:main *)",
      "Bash(git push * master)",
      "Bash(git push * master *)",
      "Bash(git push *:master)",
      "Bash(git push *:master *)",
      "Bash(gh pr merge *)",
      "Bash(npm publish*)"
    ],
    "deny": [
      "Bash(rm -rf *)",
      "Read(**/.env)",
      "Read(**/.env.*)"
    ]
  },
  "autoMode": {
    "environment": [
      "$defaults",
      "Source control: repositories under github.com/your-org are trusted; feature-branch pushes are routine."
    ],
    "allow": ["$defaults"],
    "soft_deny": [
      "$defaults",
      "Merging a pull request needs the user's approval for that specific merge."
    ]
  }
}

autoMode only takes effect in ~/.claude/settings.json, managed settings, or --settings. Keep "$defaults" in each list. Check the result with claude auto-mode config and review custom rules with claude auto-mode critique.

Output

PERMISSION TUNER REPORT

Mode: [mode]   Rules: [X] allow, [Y] ask, [Z] deny   autoMode: [yes/no]
Denials: [n] permission-rule, [n] classifier, [n] no verdict, [n] you rejected

Remove (ask rules you always approve):
  - Bash(...) -- approved [n]x

Add to autoMode.environment:
  + "..." -- clears [n] blocks

Add to autoMode.allow / soft_deny:
  + "..."

Fix hooks:
  ! [script] blocked [n] harmless commands

Keep asking:
  ~ force push, merge, publish, deploy

Estimated prompts saved per session: ~[N]

Rules

  • Prefer autoMode entries over new ask rules
  • Destructive operations stay in deny or ask
  • Always present changes for user approval before applying
  • Never write autoMode into project settings
  • Include estimated prompt savings
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/rohitg00/pro-workflow
Category
Automation & Workflows
First seen
Jun 11, 2026

More from rohitg00/pro-workflow

All 35
  • Sprint Status140
  • Llm Gate139
  • Wiki Builder137
  • Wiki Query137
  • Survey Generator135
  • Wiki Research Loop135
  • Wiki Viewer134
  • Skill Optimizer121
  • Module Map
  • Token Efficiency211
  • Pro Workflow192
  • Wrap Up187
  • Deslop182
  • Learn Rule174
  • Context Optimizer172
  • Session Handoff172
  • Smart Commit170
  • Insights167
  • Compact Guard166
  • Replay Learnings164
  • Parallel Worktrees161
  • Llm Council155
  • Context Engineering152
  • Cost Tracker151

Recommended

More Automation & Workflows
1n8n-io avatarspec-driven-developmentn8n-io/n8nKeeps implementation and specs in sync. Use when working on a feature that has a spec in .claude/specs/, when the user says /spec, or when starting implementati141installs
2rohitg00 avatarllm-gaterohitg00/pro-workflowLLM-powered quality verification using prompt hooks. Validates commit messages, code patterns, and conventions using AI before allowing operations. Use to set u139installs
3rohitg00 avatarwiki-builderrohitg00/pro-workflowStart, structure, and grow a persistent research wiki indexed in pro-workflow's SQLite knowledge base. Each wiki is a folder of markdown pages with provenance, 137installs
4rohitg00 avatarwiki-queryrohitg00/pro-workflowQuery pro-workflow wikis via SQLite FTS5 BM25 retrieval. Returns top-K passages with citations. Use when answering a question that any of the user's wikis alrea137installs
5rohitg00 avatarwiki-research-looprohitg00/pro-workflowAuto-grow a pro-workflow wiki by running a budget-capped BFS research loop over pluggable source fetchers (web, arXiv, GitHub). Each iteration pops a seed from 135installs
6cloudai-x avatardatabase-designcloudai-x/claude-workflow-v2Designs database schemas, indexing strategies, query optimization, and migration patterns for SQL and NoSQL databases. Use when designing tables, optimizing que134installs