caching-and-incremental

Solid

Always-on meta-skill — cache audit results per file by content hash so unchanged files aren't re-analyzed on subsequent runs. Activate on every /audit, /quick-scan, /audit-changes invocation.

AI & Automation 38 stars 5 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Caching & incremental audit (meta-skill) The first audit of a 50K-line codebase is slow. The second one shouldn't be. This skill governs cache reuse. ## Cache layout `~/.cache/auditsentry/<repo-fingerprint>/` ``` findings/ <sha256(file-content)>.json # findings for that exact file content <sha256>.skill-versions # skill names + versions used to produce findings manifest.json # mapping file-path → current sha256 ``` **Repo fingerprint** = sha256 of the absolute repo root path (so different checkouts don't collide). ## Procedure (per file F to audit) ### Step 1 — Compute current hash `current_hash = sha256(read F)` ### Step 2 — Check manifest - Look up `manifest[F]` → `cached_hash`. - If `cached_hash == current_hash`: - Load `findings/<current_hash>.json`. - Verify `skill-versions` matches current skill set. - If both match: **return cached findings**, mark file as cached in output. - Otherwise → audit fresh and write to cache. ### Step 3 — Write fresh result After audit completes: - `write findings/<current_hash>.json` - Update `manifest[F] = current_hash` ### Step 4 — Garbage collect Periodically (e.g. weekly): drop `findings/*.json` not referenced from any current manifest. ## Invalidation triggers Re-audit even if hash matches when: - The list of active skills has changed since the cached result - A new vulnerability skill was added that may apply - User passes `--no-cache` or `--rerun` - `.auditsentry.yml` config has ch...

Details

Author
iktok90-design
Repository
iktok90-design/ai-smart-contract-auditor
Created
1 weeks ago
Last Updated
2 days ago
Language
JavaScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

skills-audit

Use to evaluate Agent Skills and detect when one is failing — a static health audit (empty/first-person/over-budget descriptions, missing triggers, near-duplicates, misplaced) plus an on-demand runtime trigger-eval (run a realistic prompt with the skill enabled vs disabled, 3x, score false positives/negatives). Classifies failures (under-triggered, over-triggered, wrong output, ignored, obsolete) and, behind a human gate, files a SANITIZED issue to the repo that OWNS the skill — the tool's own board for its skills, the project's board for the project's own skills, local-only for third-party — never leaking the private project you are working in. Triggers — "audita mis skills", "esta skill no dispara/falla", "evalúa el triggering", "skill health check", "por qué no se activó la skill", /skills audit.

0 Updated today
CSalcedoDataBI
AI & Automation Solid

caddy-audit

Quarterly skill that walks the skill-index against the actual SKILL.md files on disk, reports drift (skills indexed that no longer exist, skills on disk that aren't enrolled, skills whose descriptions have changed since enrollment). Hardens the auto-enrollment pipeline against silent rot.

16 Updated yesterday
wrg32786
AI & Automation Listed

skills-audit

Audit installed skills for bloat and breakage. Use before adding a skill, when skills stop firing automatically, or for periodic clean-up. Checks description budget, overlapping coverage, Cursor incompatibility, oversized bodies, and disuse.

0 Updated today
bwkw