dotfiles: Skill for Claude Code

.agents/skills/permission-sync/SKILL.md

permission-sync is a skill for Claude Code, Codex from Jxck/dotfiles. It costs 29 tokens per session (788 once invoked), scanned B, original, no licence file.

A tool for keeping command permissions consistent between Claude Code and Codex configuration files.

In plain words
What is it for?
It helps update and harden permissions in .claude/settings.json and .codex/rules/default.rules in a dotfiles repository.
Why use it?
It helps prevent one coding agent from being allowed to run commands that the other agent does not allow, or vice versa.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

This is Jxck/dotfiles's own configuration. It tells Claude Code and Codex how to work on dotfiles itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dotfiles configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Jxck/dotfiles. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Jxck/dotfiles/main/.agents/skills/permission-sync/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Jxck/dotfiles

Made for: Claude Code, Codex.

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 permission-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/jxck/dotfiles/permission-sync/github.svg)](https://agentmods.dev/skills/jxck/dotfiles/permission-sync)
Your own site
<a href="https://agentmods.dev/skills/jxck/dotfiles/permission-sync"><img src="https://agentmods.dev/badge/skills/jxck/dotfiles/permission-sync/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 permission-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/jxck/dotfiles/permission-sync"><img src="https://agentmods.dev/badge/skills/jxck/dotfiles/permission-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 788 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 unknown No closer match found 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.00029 $0.00788
Opus 5.5 $0.00012 $0.00315
Sonnet 5.5 $0.00006 $0.00158
Haiku 4.5 $0.00003 $0.00079

Measured 1mo ago against content hash f6074e2acaae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

permission-sync 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 1mo 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.

このドキュメントは、`./.claude/settings.json` と `./.codex/rules/default.rules` を
.agents/skills/permission-sync/SKILL.md · 69 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 1mo ago First seen · 69 lines · 29 tokens per session scan B f6074e2acaae

Subscribe to this mod's changes

permission-sync is a skill published in the GitHub repository Jxck/dotfiles (95 stars, last pushed 5d ago), with no licence file. It adds 29 tokens to every session and 788 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

merge-pr

Merge a pull request with status checks, squash merge, and branch cleanup. Handles worktree contexts.

joshukraine/dotfiles · 23 tokens

bootstrap-prd

Set up PRD-driven development infrastructure for a new project, including directory structure, templates, and roadmap.

joshukraine/dotfiles · 25 tokens

gui-debug

Verify a rendering or window-chrome change in any macOS GUI app unattended — find its CGWindowID via JXA, capture that window alone (with per-pixel alpha) using screencapture -l, read exact RGBA via NSBitmapImageRep, and synthesize keystrokes, chords, clicks and drags with CGEventPost. Use for…

natsukium/dotfiles · 113 tokens

self-review

Deliberate end-to-end review pass over a completed change, applying the laziness ladder. Invoke when the user asks for a review, or when orchestrating one. Not a routine step after every edit.

fredrikaverpil/dotfiles · 45 tokens

vibe

Delegate a coding task to a cheap AI model (Mistral Vibe by default, but any provider Vibe knows about — DeepSeek, Gemini Flash, etc.) and supervise the result via git diff. Claude orchestrates, the cheap model codes. Claude consumes 500-1500 tokens per delegation regardless of how many file reads the delegate does…

sebastienrousseau/dotfiles · 137 tokens

audit

Repo audits, one mode or all (codebase, docs, process, perf, tests, threat-model, motion, SEO, debt). Triggers "audit the codebase", "full audit", "perf audit", "audit the tests", "threat model", "motion audit", "seo audit", "debt ledger".

darkroomengineering/cc-settings · 69 tokens