permission-sync

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

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.

agentmods
npx agentmods add skills/jxck/dotfiles/permission-sync
Any agent
npx skills add Jxck/dotfiles --skill permission-sync
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00029 $0.00788
Opus 5 $0.00015 $0.00394
Sonnet 5 $0.00006 $0.00158
Haiku 4.5 $0.00003 $0.00079

Measured 4d ago against content hash f6074e2acaae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 4d ago), with no licence file. It adds 29 tokens to every session and 788 once invoked, about $0.0001 per session on Opus 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

po-translate

Orchestrate English→Japanese translation of po/ja.po — classify, delegate translation/review to subagents, iterate until clean.

natsukium/dotfiles · 30 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, and read exact RGBA via NSBitmapImageRep. Use for blur/opacity/corner-radius/glyph/color rendering bugs where a screenshot or pixel value is…

natsukium/dotfiles · 89 tokens

bootstrap-prd

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

joshukraine/dotfiles · 25 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

taskgo

Maintains a private Git-backed personal project and task control repository using concise current Markdown, derived Git history, ADRs, and status synchronization. Use when tracking tasks, updating project status (STATUS.md), managing ADRs, synchronizing tracker state, delegating tasks to external agents, or generating…

ithinkihaveacat/dotfiles · 73 tokens