eliyce/paqad-ai/guard-inference
Claude Code and agent skill by eliyce/paqad-ai
- community
Checking that the SKILL.md file is still in the repository.
Finds and evidences the guards that gate surfaces and transitions (permissions, roles, feature flags, auth and data states) and how each is satisfied, never inventing protection the code does not enforce. Use when modeling is done, beside transition-tracing.
Install
npx vskill@latest install eliyce/paqad-ai/guard-inferenceSKILL.md
The same SKILL.md was published earlier as eliyce/paqad-ai/guard-inference.
What It Does
Adds the access-control layer: the guards that decide who may reach a surface or take a transition, and the satisfy_via that says how a guard is met. Runs in parallel with transition-tracing over the same modeled surfaces. A guard is recorded only where the code enforces it: an inferred guard the code does not check is a false sense of security.
Use This When
After modeling, alongside transition-tracing. It only adds guards and their satisfaction; edges are the other skill's job.
Inputs
- The modeled surfaces and traced transitions.
- The enforcement points in the code: middleware, decorators, route metadata, policy checks,
feature-flag reads.
- Read
references/guard-evidence.mdbefore recording a guard.
Procedure
The graph's guard-coverage analysis is the engine's; your job is to propose evidenced guards.
- For each surface, area, and transition, find the enforcement that gates it: a middleware, a
decorator, a policy, a flag read.
- Record the guard's kind (`permission | role | feature-flag | auth-state | data-state |
capability | environment), what it requires, and its satisfy_via, each with a file:line`.
- Re-run
paqad-ai sitemap runso its guard-coverage analysis flags backstage surfaces left
guard-less.
Output Contract
- A JSON object
{ guards: [{ id, kind, requires, satisfy_via, evidence }], applied: [{ surface_or_edge, guard }] }. - Every guard carries a resolving
file:linethat shows the enforcement. - Every
satisfy_vianames how the guard is met (an actor, a role, a flag variant).
Escalate / Stop Conditions
- Do not record a guard the code does not enforce. An intended-but-unchecked guard is a finding
about missing enforcement, not a guard on the map.
- Flag a backstage surface with no guard rather than assuming an inherited one that is not
evidenced.
- Never expose a secret or credential value in guard evidence: cite the
file:lineand the
enforcement, not the secret's bytes.
Resources
references/guard-evidence.mdagents/openai.yaml
Security
- Security scanPassed, 96 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
- SKILL.md in the repositoryCheckingruntime/capabilities/coding/skills/guard-inference/SKILL.md
Popularity
- 7-day trend score
- 0
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
[](https://verified-skill.com/skills/eliyce/paqad-ai/guard-inference)