Agent skill

Level 4 The Wardens Keys

by kylesnowschwartz in kylesnowschwartz/claude-code-hero

Claude Code Hero Level 4: The Warden's Keys -- configure permission rules in .claude/settings.json

No licenceAuto-check passedAgent Workflows

Install Level 4 The Wardens Keys

skills CLI
$ npx skills add kylesnowschwartz/claude-code-hero --skill level-4-the-wardens-keys -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kylesnowschwartz/claude-code-hero level-4-the-wardens-keys --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kylesnowschwartz/claude-code-hero.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/level-4-the-wardens-keys .claude/skills/level-4-the-wardens-keys && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
level-4-the-wardens-keys
GitHub stars
104
Token cost
~1.7k tokens
SKILL.md length
919 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
None found

At a glance

Claude Code Hero Level 4: The Warden's Keys -- configure permission rules in .claude/settings.json

  • Works in 3 steps: Allow Bash(git *) -- let Claude run git… → Ask Bash(git push *) -- pushes affect… → Deny Bash(git push --force *) --…
  • Agent Workflows work in your project
  • SKILL.md covers Objective, Why This Matters, The Quest and Hints, plus 3 more sections
  • Calls git and npm

What it does

Level 4 The Wardens Keys is an agent skill from kylesnowschwartz/claude-code-hero. Claude Code Hero Level 4: The Warden's Keys -- configure permission rules in .claude/settings.json

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. It works with Git and Bash.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “/level-4-the-wardens-keys”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Allow Bash(git *) -- let Claude run git commands freely. This is the most common allow rule.
  2. Ask Bash(git push *) -- pushes affect the remote. Claude should ask before pushing, even though git is broadly allowed.
  3. Deny Bash(git push --force *) -- force-pushing rewrites remote history. No one should do this casually, not even you. Deny it outright.

What it can do on your machine

Read from SKILL.md and the folder at commit 4abcc6d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.anthropic.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Level 4 The Wardens Keys loads about 1.7k tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 919 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 919 words (~1,654 tokens).

“Configure permission rules in .claude/settings.json to control what Claude Code can and cannot do without asking.”

— opening of SKILL.md by kylesnowschwartz
name
level-4-the-wardens-keys

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/level-4-the-wardens-keys of kylesnowschwartz/claude-code-hero.

Open the folder on GitHubat commit 4abcc6d

Compare with similar skills

Level 4 The Wardens Keys next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Level 4 The Wardens Keys compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Level 4 The Wardens Keys this skillkylesnowschwartz/claude-code-hero104—~1.7kAutomated safety check: PassNone
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Safe Moderohitg00/pro-workflow2.9k—~1.4kAutomated safety check: NotesNone
Fewer Permission Promptsasgeirtj/system_prompts_leaks69k—~1.9kAutomated safety check: PassCC0-1.0
Audit Standardsjeremylongshore/tons-of-skills-marketplace2.8k—~1.8kAutomated safety check: NotesMIT
CCPM Project Managementautomazeio/ccpm8.4k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 10 days ago
    Agent WorkflowsAuto-check passed
  • Safe Mode

    rohitg00/pro-workflow

    Prevent destructive operations using Claude Code hooks. An agent skill from rohitg00/pro-workflow.

    2.9k GitHub stars~1.4k tokensUpdated 12 days ago
    Agent WorkflowsAuto-check: notes
  • Fewer Permission Prompts

    asgeirtj/system_prompts_leaks

    Scan your transcripts for common read-only Bash and MCP tool calls, then add a prioritized allowlist to project .claude/settings.json to reduce permission prompts.

    69k GitHub stars~1.9k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Audit Standards

    jeremylongshore/tons-of-skills-marketplace

    Audits the current project against the development standards defined in ~/.claude/CLAUDE.md.

    2.8k GitHub stars~1.8k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed
  • Cursor Composer Task Delegate

    Chachamaru127/claude-code-harness

    Hands one implementation task to Cursor Composer in an isolated git worktree, then reviews its diff and cherry-picks the result into the main branch.

    3.2k GitHub stars~4.4k tokensUpdated 6 days ago
    DevelopmentAuto-check: notes

More from kylesnowschwartz/claude-code-hero

All 15 skills in this repo
  • Level 1 The Map Room

    kylesnowschwartz/claude-code-hero

    Claude Code Hero Level 1: The Map Room -- explore the project's .claude/ directory and document what lives there

    104 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Level 10 The Hall Of Watchers

    kylesnowschwartz/claude-code-hero

    Claude Code Hero Level 10: The Hall of Watchers -- add a PreToolUse prompt hook with a multi-tool matcher

    104 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Level 11 The Oracle Well

    kylesnowschwartz/claude-code-hero

    Claude Code Hero Level 11: The Oracle Well -- connect an MCP server and gain a new tool

    104 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Level 12 The Warband

    kylesnowschwartz/claude-code-hero

    Claude Code Hero Level 12: The Warband -- write a dynamic workflow that fans work out across agents

    104 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Level 2 The Tome

    kylesnowschwartz/claude-code-hero

    Claude Code Hero Level 2: The Tome of First Instructions -- create .claude/CLAUDE.md with real personal instructions

    104 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Level 3 The Goblin Lair

    kylesnowschwartz/claude-code-hero

    Claude Code Hero Level 3: The Goblin Lair of Commands -- create a custom slash command in .claude/commands/

    104 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Level 4 The Wardens Keys

What does Level 4 The Wardens Keys do?

Claude Code Hero Level 4: The Warden's Keys -- configure permission rules in .claude/settings.json. Level 4 The Wardens Keys is an agent skill from kylesnowschwartz/claude-code-hero.

When should I use Level 4 The Wardens Keys?

Level 4 The Wardens Keys fits situations like: agent Workflows work in your project.

How do I install Level 4 The Wardens Keys in Claude Code?

Run `npx skills add kylesnowschwartz/claude-code-hero --skill level-4-the-wardens-keys -a claude-code`. Or copy the skill folder (skills/level-4-the-wardens-keys in kylesnowschwartz/claude-code-hero) into .claude/skills/level-4-the-wardens-keys in your project. Claude Code loads it when a task matches its description.

How do I install Level 4 The Wardens Keys in Codex?

Run `npx skills add kylesnowschwartz/claude-code-hero --skill level-4-the-wardens-keys -a codex`. Or copy the skill folder (skills/level-4-the-wardens-keys in kylesnowschwartz/claude-code-hero) into .agents/skills/level-4-the-wardens-keys in your project. Codex loads it when a task matches its description.

Can I use Level 4 The Wardens Keys in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kylesnowschwartz/claude-code-hero --skill level-4-the-wardens-keys -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/level-4-the-wardens-keys, .gemini/skills/level-4-the-wardens-keys, .github/skills/level-4-the-wardens-keys and .opencode/skills/level-4-the-wardens-keys in your project.

What does Level 4 The Wardens Keys need to run?

Going by SKILL.md and its folder, Level 4 The Wardens Keys needs the command-line tools its instructions call (git and npm).

Does Level 4 The Wardens Keys access the network?

SKILL.md names 1 domain. As links in the text: docs.anthropic.com. This is read from the text; nothing was executed.

Is Level 4 The Wardens Keys safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Level 4 The Wardens Keys use?

No licence was found for Level 4 The Wardens Keys or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Level 4 The Wardens Keys use?

About 1.7k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Level 4 The Wardens Keys?

Skills that share tags, products or a category with Level 4 The Wardens Keys: Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars), Safe Mode (rohitg00/pro-workflow, 2.9k stars), Fewer Permission Prompts (asgeirtj/system_prompts_leaks, 69k stars) and Audit Standards (jeremylongshore/tons-of-skills-marketplace, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Level 4 The Wardens Keys?

kylesnowschwartz (a GitHub user) maintains it in kylesnowschwartz/claude-code-hero, which has 104 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 7, 2026.

Source: kylesnowschwartz/claude-code-hero on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.