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.
npx skills add ivklgn/ai-kit --skill reset-permissionsgit clone --depth 1 https://github.com/ivklgn/ai-kitWrote 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.
[](https://agentmods.dev/skills/ivklgn/ai-kit/reset-permissions)<a href="https://agentmods.dev/skills/ivklgn/ai-kit/reset-permissions"><img src="https://agentmods.dev/badge/skills/ivklgn/ai-kit/reset-permissions/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.
<a href="https://agentmods.dev/skills/ivklgn/ai-kit/reset-permissions"><img src="https://agentmods.dev/badge/skills/ivklgn/ai-kit/reset-permissions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.00611 |
| Opus 5.5 | $0.00022 | $0.00244 |
| Sonnet 5.5 | $0.00011 | $0.00122 |
| Haiku 4.5 | $0.00006 | $0.00061 |
Grade B, and why
reset-permissions 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 2mo 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.
cat .claude/settings.local.json What it actually says
Reset Permissions
Clear accumulated permissions.allow entries from .claude/settings.local.json in the current project.
Modes
- No arguments — full reset, clear all permissions
--keep-read— remove only write/action permissions, keep read-only
Step 1: Read Current Settings
cat .claude/settings.local.json
If the file doesn't exist or has no permissions.allow entries, report that there are no permissions to reset and stop.
Step 2: Classify Permissions
For --keep-read mode, classify each permission in the allow array:
Read-only (KEEP):
WebFetch(*),WebSearchRead(*),Glob(*),Grep(*)- Bash with read commands:
find,ls,cat,head,tail,tree,diff,grep,rg,wc,file,stat,du,df,which,type,env,printenv,echo - Bash with git read commands:
git status,git log,git diff,git show,git branch,git tag,git remote,git blame,git ls-files,git ls-tree,git describe,git rev-parse,git shortlog,git reflog,git stash list - Commands ending with
--list,--help,--version
Write/action (REMOVE):
- Everything else:
Bash(mkdir:*),Bash(chmod:*),Bash(rm:*),Bash(git add:*),Bash(git commit:*),Bash(git push:*),Bash(git:*)(blanket git),Edit(*),Write(*), install/build scripts, etc.
Step 3: Apply Changes
Use the Edit tool to update .claude/settings.local.json:
- Full reset: replace the
allowarray contents with[] --keep-read: replace theallowarray with only the read-only entries
Preserve all other fields in the file (deny, enabledPlugins, etc.) unchanged.
Step 4: Report Results
Show the user:
- How many permissions were removed (list them with
-prefix) - For
--keep-read: how many were kept (list them with+prefix) - Confirm the file was updated
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 53 lines · 56 tokens per session scan B d3014fab5db9
reset-permissions is a skill published in the GitHub repository ivklgn/ai-kit (12 stars, last pushed 2mo ago), licensed MIT. It adds 56 tokens to every session and 611 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.
reset-permissions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| reset-permissionsivklgn/ai-kit | Skill | 12 | 2mo ago | MIT | B | 56 | Claude Code |
| low-code-platformstravisjneuman/.claude | Skill | 115 | 2d ago | MIT | A | 54 | Claude Code |
| agent-desktoptravisjneuman/.claude | Skill | 115 | 2d ago | MIT | A | 38 | Claude Code |
| agent-cli-developertravisjneuman/.claude | Skill | 115 | 2d ago | MIT | C | 77 | Claude Code |
| morningtravisjneuman/.claude | Skill | 115 | 2d ago | MIT | A | 78 | Claude Code |
| computer-usetravisjneuman/.claude | Skill | 115 | 2d ago | MIT | A | 203 | Claude Code |
| goal-delivery-completenesslubochka/xiigen-general-skills | Skill | 1 | 4mo ago | Apache-2.0 | A | 27 | Claude Code, Codex |