trinhhaox/ag-kit/scope-lock

Claude Code and agent skill by trinhhaox/ag-kit

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Scope restriction for agent edits. Limits Write/Edit to specified paths only.

Install

npx vskill@latest install trinhhaox/ag-kit/scope-lock

SKILL.md

Scope Lock

Restricts file editing to a defined set of paths. When a freeze scope is active, all Write/Edit operations outside the allowed paths are blocked by the privacy-guard hook.

How It Works

  1. User runs /freeze src/components/ src/lib/api.ts
  2. Allowed paths are written to .agent/.freeze-scope (one path per line)
  3. privacy-guard.sh reads this file before every Edit/Write
  4. If target file is outside all allowed paths → BLOCKED
  5. User runs /unfreeze → scope file deleted, all edits allowed again

Rules for Agents

  • ALWAYS check if .agent/.freeze-scope exists before suggesting edits
  • If scope is active, ONLY propose changes to files within the allowed paths
  • If a necessary change is outside scope, inform the user and suggest /unfreeze first
  • Never modify or delete .agent/.freeze-scope directly — use /unfreeze

State File Format

.agent/.freeze-scope:

src/components/
src/lib/api.ts

Each line is either a directory (trailing /) or exact file path. A file matches if its path starts with any listed entry.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/trinhhaox/ag-kit/scope-lock/badge)](https://verified-skill.com/skills/trinhhaox/ag-kit/scope-lock)

Something wrong with this skill or its page? Tell us.