AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Update Allowed Tools

skill-vinta-hal-9000-update-allowed-tools · by vinta

Use when creating or editing a skill that uses Bash commands, external tools, or skill invocations and the allowed-tools frontmatter may be incomplete

No reviews yet
0 installs
3 views
0.0% view→install

Install

$ agentstack add skill-vinta-hal-9000-update-allowed-tools

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-vinta-hal-9000-update-allowed-tools)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Update Allowed Tools? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Overview

Analyzes a skill's full content, SKILL.md and any sibling files in the same directory, to find tools it references or requires, then compares against the skill's allowed-tools frontmatter to find missing entries.

Usage

/update-allowed-tools 
/update-allowed-tools @path/to/SKILL.md

Instructions

  1. Parse argument: The argument is either a file path to a SKILL.md file, or a skill name/description. If no file path is provided, search for the skill using Glob — first in the current working directory (e.g., **/skills/**//SKILL.md), then in ~/.claude/skills/**//SKILL.md.
  1. Read the skill file and separate the YAML frontmatter from the body content. Also read any other files in the same directory (sibling files referenced by or bundled with the skill).
  1. Extract declared allowed-tools: Parse all entries under allowed-tools: in the frontmatter.
  1. Scan all skill content (SKILL.md body + sibling files) for tool usage. Look for:
  • Explicit tool names: e.g., Read, Write, Edit, Bash, WebFetch, WebSearch, Task, AskUserQuestion, Skill, etc.
  • Bash command patterns: e.g., git diff, git commit, make, npm, docker, python, curl, etc.
  • For Bash commands found, the required allowed-tool format is Bash(:*) (e.g., git stash push needs Bash(git stash:*))
  • For file tools with path patterns (Read, Write, Edit), note the paths referenced (e.g., /tmp/ needs Read(//tmp/**))
  • Skill invocations: e.g., commit, Use the commit skill, Skill(commit). The required allowed-tool format is Skill() (e.g., commit needs Skill(commit))
  1. Compare: For each tool detected in the body, check if it's covered by an entry in allowed-tools. Rules:
  • Glob, Grep, Read, Write, Edit are available by default for files within the project directory. Only add these when the skill needs to access files outside the project (e.g., Read(//tmp/**), Write(~/.config/**)).
  • Bash commands always need explicit Bash(:*) entries.
  • A Bash pattern covers subcommands (e.g., Bash(git stash:*) covers git stash push).
  • Exact match counts as covered (e.g., WebSearch matches WebSearch).
  1. Update the skill file: For any missing tools found, add them to the allowed-tools list in the skill's YAML frontmatter using the Edit tool. Then report what was added.
  1. Validate: Re-read the updated file to confirm YAML frontmatter remains syntactically valid (proper indentation, no duplicate entries, correct list format).

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.