Skip to content

feat: add config-health — runtime config integrity monitoring#2496

Open
YuhaoLin2005 wants to merge 3 commits into
affaan-m:mainfrom
YuhaoLin2005:feat/config-health
Open

feat: add config-health — runtime config integrity monitoring#2496
YuhaoLin2005 wants to merge 3 commits into
affaan-m:mainfrom
YuhaoLin2005:feat/config-health

Conversation

@YuhaoLin2005

Copy link
Copy Markdown
Contributor

What

A new skill that adds runtime configuration integrity monitoring to Claude Code — complementing the existing delivery-gate (session-end hard block) with session-duration soft monitoring.

Why

delivery-gate (#2378) checks whether work is complete at session end. But by then, subtle config problems (broken hook wiring, dead rules, guard script staleness) have already affected the entire session. config-health catches these during the session — when they're still cheap to fix.

Defense in Depth

Layer Skill When Mechanism
Process config-health (new) SessionStart + PreToolUse Soft warnings, early detection
Output delivery-gate (existing) Stop hook Hard blocking, exit 2

The boundary: "Can this be fixed retroactively?" Config drift = yes → config-health warns. Missing growth-log = no → delivery-gate blocks.

What It Monitors

  1. Rule Health (SessionStart): scans rules, checks hook wiring, detects dead rules accumulating silently
  2. Hook Wiring Audit (PreToolUse): verifies referenced scripts exist on disk and are wired in settings.json before high-risk calls
  3. Guard Script Staleness: checks maintenance windows

Design

  • Never blocks on process monitoring. config-health warns; delivery-gate blocks. Intentional boundary.
  • Checks what delivery-gate can't. Filesystem state = delivery-gate's domain. Config behavior = config-health's domain.
  • Zero false positives on hook wiring. Script referenced but missing on disk = fact, not heuristic.

Integration

Composes with existing ECC skills — not a replacement. Specifically designed to complement delivery-gate (#2378) and growth-log (#2377).

@YuhaoLin2005
YuhaoLin2005 requested a review from affaan-m as a code owner July 10, 2026 17:46
@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Added a new documentation page for Config Health runtime configuration integrity monitoring.
    • Details what’s checked at session start, before high-risk tool use, and how guard script staleness is handled.
    • Explains the warning vs blocking behavior across the session, including the coordination with delivery-gate.
    • Provides setup/configuration guidance, including how to merge hook entries and run the config-health checks.

Walkthrough

Adds documentation for the Config Health runtime monitoring layer, including its checks, hook timing, delivery-gate integration, installation configuration, and script coverage.

Changes

Config Health

Layer / File(s) Summary
Config Health monitoring and installation guidance
skills/config-health/SKILL.md
Documents rule health checks, high-risk hook wiring audits, guard-script staleness detection, soft and hard warning behavior, and SessionStart/PreToolUse installation hooks with flags and timeouts.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested reviewers: affaan-m

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the new config-health skill and its runtime configuration integrity monitoring purpose.
Description check ✅ Passed The description directly explains the new config-health monitoring layer, its checks, and how it complements delivery-gate.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds a new config-health skill for runtime configuration monitoring. The main changes are:

  • New skill metadata and activation guidance.
  • SessionStart and PreToolUse hook examples for config checks.
  • Documentation for rule health, hook wiring, and guard staleness checks.

Confidence Score: 4/5

This should be fixed before merging.

  • The hook setup still points users at a script that is not included.
  • A normal install can leave both configured hooks running a missing file.
  • The advertised runtime monitor can fail to start.

skills/config-health/SKILL.md

Important Files Changed

Filename Overview
skills/config-health/SKILL.md Adds the config-health skill documentation and hook install instructions.

Reviews (3): Last reviewed commit: "fix: clarify boundary naming + add insta..." | Re-trigger Greptile

Comment thread skills/config-health/SKILL.md Outdated

@daltino daltino left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR adds a new skill, config-health, for runtime configuration integrity monitoring. The SKILL.md file is clear, well-structured, and adheres to the contribution guidelines, with a descriptive name, a concise summary of its purpose, and metadata specifying its origin. The addition complements existing functionality (delivery-gate) effectively, providing a proactive layer for identifying issues during the session. No issues spotted with the implementation.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@skills/config-health/SKILL.md`:
- Around line 8-22: Add canonical ## When to Activate, ## How It Works, and ##
Examples sections to the config-health skill documentation. Under When to
Activate, specify concrete conditions such as session start, before high-risk
tool calls, and guard-script maintenance checks; under How It Works, describe
the monitoring workflow and responses; under Examples, provide representative
configuration-health scenarios.
- Around line 24-38: Update the Install section in SKILL.md so the hook
configuration is explicitly merged into existing Claude settings rather than
replacing the full hooks object. Add instructions to provision or copy
config-health.py into ~/.claude/scripts/config-health.py and verify that the
file exists before enabling the hooks.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: eb49f71c-1f5a-4ce1-8048-609fa90d2e45

📥 Commits

Reviewing files that changed from the base of the PR and between 4092795 and 704ff78.

📒 Files selected for processing (1)
  • skills/config-health/SKILL.md
📜 Review details
⏰ Context from checks skipped due to timeout. (28)
  • GitHub Check: CodeRabbit / Review
  • GitHub Check: Test (macos-latest, Node 20.x, npm)
  • GitHub Check: Test (macos-latest, Node 22.x, yarn)
  • GitHub Check: Test (ubuntu-latest, Node 20.x, bun)
  • GitHub Check: Test (macos-latest, Node 18.x, yarn)
  • GitHub Check: Test (ubuntu-latest, Node 20.x, yarn)
  • GitHub Check: Test (macos-latest, Node 20.x, bun)
  • GitHub Check: Test (ubuntu-latest, Node 22.x, pnpm)
  • GitHub Check: Test (windows-latest, Node 18.x, yarn)
  • GitHub Check: Test (macos-latest, Node 18.x, npm)
  • GitHub Check: Test (windows-latest, Node 20.x, npm)
  • GitHub Check: Test (windows-latest, Node 18.x, pnpm)
  • GitHub Check: Test (windows-latest, Node 20.x, yarn)
  • GitHub Check: Test (windows-latest, Node 22.x, npm)
  • GitHub Check: Test (ubuntu-latest, Node 22.x, npm)
  • GitHub Check: Test (windows-latest, Node 18.x, npm)
  • GitHub Check: Test (windows-latest, Node 20.x, pnpm)
  • GitHub Check: Test (windows-latest, Node 22.x, yarn)
  • GitHub Check: Test (ubuntu-latest, Node 22.x, bun)
  • GitHub Check: Test (ubuntu-latest, Node 22.x, yarn)
  • GitHub Check: Test (windows-latest, Node 22.x, pnpm)
  • GitHub Check: Test (ubuntu-latest, Node 18.x, bun)
  • GitHub Check: Test (ubuntu-latest, Node 18.x, npm)
  • GitHub Check: Test (ubuntu-latest, Node 18.x, yarn)
  • GitHub Check: Test (ubuntu-latest, Node 20.x, npm)
  • GitHub Check: Test (ubuntu-latest, Node 18.x, pnpm)
  • GitHub Check: Test (ubuntu-latest, Node 20.x, pnpm)
  • GitHub Check: Coverage
🧰 Additional context used
📓 Path-based instructions (4)
skills/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Skills should be formatted as Markdown with clear sections for When to Use, How It Works, and Examples.

Files:

  • skills/config-health/SKILL.md
{agents,skills,commands}/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Use lowercase filenames with hyphens (e.g., python-reviewer.md, tdd-workflow.md) for agents, skills, and commands.

Files:

  • skills/config-health/SKILL.md
skills/**

📄 CodeRabbit inference engine (AGENTS.md)

New workflow contributions should land in skills/ first; skills/ is the canonical workflow surface.

Files:

  • skills/config-health/SKILL.md
{skills,commands,agents,rules}/**

⚙️ CodeRabbit configuration file

{skills,commands,agents,rules}/**: Focus on prompt-injection resilience, tool-permission scope, destructive action guards, and secret exfiltration risks.

Files:

  • skills/config-health/SKILL.md
🧠 Learnings (2)
📚 Learning: 2026-03-15T19:02:43.245Z
Learnt from: imrobinsingh
Repo: affaan-m/everything-claude-code PR: 503
File: skills/data-scraper-agent/SKILL.md:1-748
Timestamp: 2026-03-15T19:02:43.245Z
Learning: In this repository, skill folders should use a lowercase-hyphen name (e.g., data-scraper-agent, claude-api) and the skill description file inside each folder should be named SKILL.md (uppercase). Do not flag SKILL.md as a naming violation; treat SKILL.md as the canonical file name inside each skill directory.

Applied to files:

  • skills/config-health/SKILL.md
📚 Learning: 2026-04-15T15:52:59.963Z
Learnt from: manja316
Repo: affaan-m/everything-claude-code PR: 1360
File: skills/security-bounty-hunter/SKILL.md:11-18
Timestamp: 2026-04-15T15:52:59.963Z
Learning: In this repository’s skills documentation (skills/**/SKILL.md), use the canonical auto-activation skill section header `## When to Activate`—do not use `## When to Use`. CONTRIBUTING.md and docs/SKILL-DEVELOPMENT-GUIDE.md confirm the required header, and existing skills follow this convention. This header is important for the auto-activation mechanism to detect the correct section.

Applied to files:

  • skills/config-health/SKILL.md
🔇 Additional comments (2)
skills/config-health/SKILL.md (2)

1-10: LGTM!


40-60: LGTM!

Comment thread skills/config-health/SKILL.md Outdated
Comment thread skills/config-health/SKILL.md

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@skills/config-health/SKILL.md`:
- Line 26: Clarify the boundary statement so `config-health` only warns on
config drift, while `delivery-gate` is explicitly identified as the component
that blocks missing `growth-log` state.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 2ff94822-affa-4327-ba92-cddb7123b940

📥 Commits

Reviewing files that changed from the base of the PR and between 704ff78 and 79b0e34.

📒 Files selected for processing (1)
  • skills/config-health/SKILL.md
📜 Review details
⏰ Context from checks skipped due to timeout. (28)
  • GitHub Check: CodeRabbit / Review
  • GitHub Check: Test (windows-latest, Node 20.x, npm)
  • GitHub Check: Test (windows-latest, Node 22.x, yarn)
  • GitHub Check: Test (macos-latest, Node 20.x, bun)
  • GitHub Check: Test (ubuntu-latest, Node 20.x, bun)
  • GitHub Check: Test (macos-latest, Node 22.x, npm)
  • GitHub Check: Test (windows-latest, Node 22.x, npm)
  • GitHub Check: Test (windows-latest, Node 22.x, pnpm)
  • GitHub Check: Test (windows-latest, Node 18.x, yarn)
  • GitHub Check: Test (macos-latest, Node 22.x, bun)
  • GitHub Check: Test (windows-latest, Node 20.x, pnpm)
  • GitHub Check: Test (windows-latest, Node 20.x, yarn)
  • GitHub Check: Test (macos-latest, Node 18.x, yarn)
  • GitHub Check: Test (windows-latest, Node 18.x, pnpm)
  • GitHub Check: Test (macos-latest, Node 18.x, pnpm)
  • GitHub Check: Test (windows-latest, Node 18.x, npm)
  • GitHub Check: Test (ubuntu-latest, Node 22.x, pnpm)
  • GitHub Check: Test (ubuntu-latest, Node 22.x, bun)
  • GitHub Check: Test (ubuntu-latest, Node 22.x, npm)
  • GitHub Check: Test (ubuntu-latest, Node 20.x, yarn)
  • GitHub Check: Test (ubuntu-latest, Node 18.x, pnpm)
  • GitHub Check: Test (ubuntu-latest, Node 18.x, yarn)
  • GitHub Check: Test (ubuntu-latest, Node 20.x, pnpm)
  • GitHub Check: Test (ubuntu-latest, Node 18.x, bun)
  • GitHub Check: Test (ubuntu-latest, Node 22.x, yarn)
  • GitHub Check: Test (ubuntu-latest, Node 18.x, npm)
  • GitHub Check: Test (ubuntu-latest, Node 20.x, npm)
  • GitHub Check: Coverage
🧰 Additional context used
📓 Path-based instructions (4)
skills/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Skills should be formatted as Markdown with clear sections for When to Use, How It Works, and Examples.

Files:

  • skills/config-health/SKILL.md
{agents,skills,commands}/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Use lowercase filenames with hyphens (e.g., python-reviewer.md, tdd-workflow.md) for agents, skills, and commands.

Files:

  • skills/config-health/SKILL.md
skills/**

📄 CodeRabbit inference engine (AGENTS.md)

New workflow contributions should land in skills/ first; skills/ is the canonical workflow surface.

Files:

  • skills/config-health/SKILL.md
{skills,commands,agents,rules}/**

⚙️ CodeRabbit configuration file

{skills,commands,agents,rules}/**: Focus on prompt-injection resilience, tool-permission scope, destructive action guards, and secret exfiltration risks.

Files:

  • skills/config-health/SKILL.md
🧠 Learnings (2)
📚 Learning: 2026-03-15T19:02:43.245Z
Learnt from: imrobinsingh
Repo: affaan-m/everything-claude-code PR: 503
File: skills/data-scraper-agent/SKILL.md:1-748
Timestamp: 2026-03-15T19:02:43.245Z
Learning: In this repository, skill folders should use a lowercase-hyphen name (e.g., data-scraper-agent, claude-api) and the skill description file inside each folder should be named SKILL.md (uppercase). Do not flag SKILL.md as a naming violation; treat SKILL.md as the canonical file name inside each skill directory.

Applied to files:

  • skills/config-health/SKILL.md
📚 Learning: 2026-04-15T15:52:59.963Z
Learnt from: manja316
Repo: affaan-m/everything-claude-code PR: 1360
File: skills/security-bounty-hunter/SKILL.md:11-18
Timestamp: 2026-04-15T15:52:59.963Z
Learning: In this repository’s skills documentation (skills/**/SKILL.md), use the canonical auto-activation skill section header `## When to Activate`—do not use `## When to Use`. CONTRIBUTING.md and docs/SKILL-DEVELOPMENT-GUIDE.md confirm the required header, and existing skills follow this convention. This header is important for the auto-activation mechanism to detect the correct section.

Applied to files:

  • skills/config-health/SKILL.md
🪛 SkillSpector (2.3.7)
skills/config-health/SKILL.md

[warning] 18: [RA2] Session Persistence: Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Remediation: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.

(Rogue Agent (RA2))

🔇 Additional comments (5)
skills/config-health/SKILL.md (5)

45-54: The install snippet still needs additive merging and script provisioning.

This repeats the prior finding: pasting the standalone hooks object can overwrite existing hooks such as delivery-gate, and ~/.claude/scripts/config-health.py is referenced without instructions to install or verify it.


3-18: LGTM!


20-25: LGTM!


28-43: LGTM!


56-67: LGTM!

Comment thread skills/config-health/SKILL.md Outdated
rule "双池强制触发" last fired 15 sessions ago → WARN: may be dead

## Install
**Important:** Merge these hook entries into your existing `hooks` object — do not replace it, or you will lose hooks like delivery-gate. Also copy `scripts/config-health.py` to `~/.claude/scripts/config-health.py` and verify it exists before enabling.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Script still missing This install step tells users to copy scripts/config-health.py before enabling the hooks, but this change still does not include that source script. When a user follows the instructions, there is no file to copy into ~/.claude/scripts/config-health.py, so the SessionStart and PreToolUse commands still run a nonexistent Python file instead of starting the config-health monitor.

Rule Used: Review for prompt injection, tool-permission creep... (source)

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
skills/config-health/SKILL.md (1)

51-52: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Lower these hook timeouts
timeout is in seconds here, so 5000 and 3000 make these hooks wait for hours instead of a few seconds. Use 5 and 3 if that’s the intended limit.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@skills/config-health/SKILL.md` around lines 51 - 52, Update the timeout
values in the SessionStart and PreToolUse hook configurations to use seconds as
intended: change 5000 to 5 and 3000 to 3, while preserving the existing commands
and hook structure.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@skills/config-health/SKILL.md`:
- Around line 51-52: Update the timeout values in the SessionStart and
PreToolUse hook configurations to use seconds as intended: change 5000 to 5 and
3000 to 3, while preserving the existing commands and hook structure.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3cbd8010-fa65-4dea-bdd5-d2c6fbeb8d14

📥 Commits

Reviewing files that changed from the base of the PR and between 79b0e34 and db78a1a.

📒 Files selected for processing (1)
  • skills/config-health/SKILL.md
📜 Review details
⏰ Context from checks skipped due to timeout. (28)
  • GitHub Check: CodeRabbit
  • GitHub Check: Test (ubuntu-latest, Node 22.x, pnpm)
  • GitHub Check: Test (ubuntu-latest, Node 20.x, npm)
  • GitHub Check: Test (windows-latest, Node 18.x, npm)
  • GitHub Check: Test (windows-latest, Node 20.x, npm)
  • GitHub Check: Test (macos-latest, Node 20.x, npm)
  • GitHub Check: Test (ubuntu-latest, Node 20.x, pnpm)
  • GitHub Check: Test (windows-latest, Node 20.x, yarn)
  • GitHub Check: Test (ubuntu-latest, Node 18.x, npm)
  • GitHub Check: Test (windows-latest, Node 18.x, yarn)
  • GitHub Check: Test (windows-latest, Node 20.x, pnpm)
  • GitHub Check: Test (macos-latest, Node 18.x, yarn)
  • GitHub Check: Test (windows-latest, Node 22.x, pnpm)
  • GitHub Check: Test (windows-latest, Node 22.x, npm)
  • GitHub Check: Test (ubuntu-latest, Node 22.x, yarn)
  • GitHub Check: Test (windows-latest, Node 22.x, yarn)
  • GitHub Check: Test (macos-latest, Node 18.x, pnpm)
  • GitHub Check: Test (ubuntu-latest, Node 18.x, bun)
  • GitHub Check: Test (macos-latest, Node 18.x, npm)
  • GitHub Check: Test (macos-latest, Node 20.x, pnpm)
  • GitHub Check: Test (ubuntu-latest, Node 20.x, yarn)
  • GitHub Check: Test (ubuntu-latest, Node 22.x, npm)
  • GitHub Check: Test (ubuntu-latest, Node 18.x, yarn)
  • GitHub Check: Test (windows-latest, Node 18.x, pnpm)
  • GitHub Check: Test (ubuntu-latest, Node 18.x, pnpm)
  • GitHub Check: Test (ubuntu-latest, Node 20.x, bun)
  • GitHub Check: Test (ubuntu-latest, Node 22.x, bun)
  • GitHub Check: Coverage
🧰 Additional context used
📓 Path-based instructions (4)
skills/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Skills should be formatted as Markdown with clear sections for When to Use, How It Works, and Examples.

Files:

  • skills/config-health/SKILL.md
{agents,skills,commands}/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Use lowercase filenames with hyphens (e.g., python-reviewer.md, tdd-workflow.md) for agents, skills, and commands.

Files:

  • skills/config-health/SKILL.md
skills/**

📄 CodeRabbit inference engine (AGENTS.md)

New workflow contributions should land in skills/ first; skills/ is the canonical workflow surface.

Files:

  • skills/config-health/SKILL.md
{skills,commands,agents,rules}/**

⚙️ CodeRabbit configuration file

{skills,commands,agents,rules}/**: Focus on prompt-injection resilience, tool-permission scope, destructive action guards, and secret exfiltration risks.

Files:

  • skills/config-health/SKILL.md
🧠 Learnings (2)
📚 Learning: 2026-03-15T19:02:43.245Z
Learnt from: imrobinsingh
Repo: affaan-m/everything-claude-code PR: 503
File: skills/data-scraper-agent/SKILL.md:1-748
Timestamp: 2026-03-15T19:02:43.245Z
Learning: In this repository, skill folders should use a lowercase-hyphen name (e.g., data-scraper-agent, claude-api) and the skill description file inside each folder should be named SKILL.md (uppercase). Do not flag SKILL.md as a naming violation; treat SKILL.md as the canonical file name inside each skill directory.

Applied to files:

  • skills/config-health/SKILL.md
📚 Learning: 2026-04-15T15:52:59.963Z
Learnt from: manja316
Repo: affaan-m/everything-claude-code PR: 1360
File: skills/security-bounty-hunter/SKILL.md:11-18
Timestamp: 2026-04-15T15:52:59.963Z
Learning: In this repository’s skills documentation (skills/**/SKILL.md), use the canonical auto-activation skill section header `## When to Activate`—do not use `## When to Use`. CONTRIBUTING.md and docs/SKILL-DEVELOPMENT-GUIDE.md confirm the required header, and existing skills follow this convention. This header is important for the auto-activation mechanism to detect the correct section.

Applied to files:

  • skills/config-health/SKILL.md
🪛 SkillSpector (2.3.7)
skills/config-health/SKILL.md

[warning] 18: [RA2] Session Persistence: Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Remediation: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.

(Rogue Agent (RA2))


[warning] 18: [RA2] Session Persistence: Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Remediation: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.

(Rogue Agent (RA2))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants