opencode-skills-collection 3.0.4 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +3 -1
- package/bundled-skills/buywhere-product-catalog/SKILL.md +2 -2
- package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
- package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
- package/bundled-skills/docs/maintainers/repo-growth-seo.md +3 -3
- package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
- package/bundled-skills/docs/users/bundles.md +1 -1
- package/bundled-skills/docs/users/claude-code-skills.md +1 -1
- package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
- package/bundled-skills/docs/users/getting-started.md +1 -1
- package/bundled-skills/docs/users/kiro-integration.md +1 -1
- package/bundled-skills/docs/users/usage.md +4 -4
- package/bundled-skills/docs/users/visual-guide.md +4 -4
- package/bundled-skills/production-audit/SKILL.md +209 -0
- package/bundled-skills/recursive-context-pruning-token-budgeting/SKILL.md +108 -0
- package/package.json +1 -1
- package/skills_index.json +44 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"updatedAt": "2026-05-
|
|
3
|
+
"updatedAt": "2026-05-05T01:45:37.168Z",
|
|
4
4
|
"entries": [
|
|
5
5
|
"00-andruia-consultant",
|
|
6
6
|
"007",
|
|
@@ -1021,6 +1021,7 @@
|
|
|
1021
1021
|
"product-manager",
|
|
1022
1022
|
"product-manager-toolkit",
|
|
1023
1023
|
"product-marketing-context",
|
|
1024
|
+
"production-audit",
|
|
1024
1025
|
"production-code-audit",
|
|
1025
1026
|
"production-scheduling",
|
|
1026
1027
|
"professional-proofreader",
|
|
@@ -1072,6 +1073,7 @@
|
|
|
1072
1073
|
"readme",
|
|
1073
1074
|
"recallmax",
|
|
1074
1075
|
"receiving-code-review",
|
|
1076
|
+
"recursive-context-pruning-token-budgeting",
|
|
1075
1077
|
"red-team-tactics",
|
|
1076
1078
|
"red-team-tools",
|
|
1077
1079
|
"reddit-automation",
|
|
@@ -4,10 +4,10 @@ description: "Use BuyWhere's MCP and API surfaces to add product search, price c
|
|
|
4
4
|
category: ecommerce
|
|
5
5
|
risk: safe
|
|
6
6
|
source: official
|
|
7
|
-
source_repo: BuyWhere/buywhere-
|
|
7
|
+
source_repo: BuyWhere/buywhere-mcp
|
|
8
8
|
source_type: official
|
|
9
9
|
license: "Not declared"
|
|
10
|
-
license_source: "https://github.com/BuyWhere/buywhere-
|
|
10
|
+
license_source: "https://github.com/BuyWhere/buywhere-mcp"
|
|
11
11
|
date_added: "2026-04-29"
|
|
12
12
|
author: BuyWhere
|
|
13
13
|
tags: [buywhere, ecommerce, shopping, mcp, api, product-catalog]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Jetski/Cortex + Gemini Integration Guide
|
|
3
|
-
description: "Use antigravity-awesome-skills with Jetski/Cortex without hitting context-window overflow with 1,
|
|
3
|
+
description: "Use antigravity-awesome-skills with Jetski/Cortex without hitting context-window overflow with 1,445+ skills."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Jetski/Cortex + Gemini: safe integration with 1,
|
|
6
|
+
# Jetski/Cortex + Gemini: safe integration with 1,445+ skills
|
|
7
7
|
|
|
8
8
|
This guide shows how to integrate the `antigravity-awesome-skills` repository with an agent based on **Jetski/Cortex + Gemini** (or similar frameworks) **without exceeding the model context window**.
|
|
9
9
|
|
|
@@ -23,7 +23,7 @@ Never do:
|
|
|
23
23
|
- concatenate all `SKILL.md` content into a single system prompt;
|
|
24
24
|
- re-inject the entire library for **every** request.
|
|
25
25
|
|
|
26
|
-
With 1,
|
|
26
|
+
With 1,445+ skills, this approach fills the context window before user messages are even added, causing truncation.
|
|
27
27
|
|
|
28
28
|
---
|
|
29
29
|
|
|
@@ -20,7 +20,7 @@ This example shows one way to integrate **antigravity-awesome-skills** with a Je
|
|
|
20
20
|
- How to enforce a **maximum number of skills per turn** via `maxSkillsPerTurn`.
|
|
21
21
|
- How to choose whether to **truncate or error** when too many skills are requested via `overflowBehavior`.
|
|
22
22
|
|
|
23
|
-
This pattern avoids context overflow when you have 1,
|
|
23
|
+
This pattern avoids context overflow when you have 1,445+ skills installed.
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
@@ -6,7 +6,7 @@ This document keeps the repository's GitHub-facing discovery copy aligned with t
|
|
|
6
6
|
|
|
7
7
|
Preferred positioning:
|
|
8
8
|
|
|
9
|
-
> Installable GitHub library of 1,
|
|
9
|
+
> Installable GitHub library of 1,445+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and other AI coding assistants.
|
|
10
10
|
|
|
11
11
|
Key framing:
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Key framing:
|
|
|
20
20
|
|
|
21
21
|
Preferred description:
|
|
22
22
|
|
|
23
|
-
> Installable GitHub library of 1,
|
|
23
|
+
> Installable GitHub library of 1,445+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.
|
|
24
24
|
|
|
25
25
|
Preferred homepage:
|
|
26
26
|
|
|
@@ -28,7 +28,7 @@ Preferred homepage:
|
|
|
28
28
|
|
|
29
29
|
Preferred social preview:
|
|
30
30
|
|
|
31
|
-
- use a clean preview image that says `1,
|
|
31
|
+
- use a clean preview image that says `1,445+ Agentic Skills`;
|
|
32
32
|
- mention Claude Code, Cursor, Codex CLI, and Gemini CLI;
|
|
33
33
|
- avoid dense text and tiny logos that disappear in social cards.
|
|
34
34
|
|
|
@@ -69,7 +69,7 @@ For manual updates, you need:
|
|
|
69
69
|
The update process refreshes:
|
|
70
70
|
- Skills index (`skills_index.json`)
|
|
71
71
|
- Web app skills data (`apps\web-app\public\skills.json`)
|
|
72
|
-
- All 1,
|
|
72
|
+
- All 1,445+ skills from the skills directory
|
|
73
73
|
|
|
74
74
|
## When to Update
|
|
75
75
|
|
|
@@ -12,7 +12,7 @@ Install the library into Claude Code, then invoke focused skills directly in the
|
|
|
12
12
|
|
|
13
13
|
## Why use this repo for Claude Code
|
|
14
14
|
|
|
15
|
-
- It includes 1,
|
|
15
|
+
- It includes 1,445+ skills instead of a narrow single-domain starter pack.
|
|
16
16
|
- It supports the standard `.claude/skills/` path and the Claude Code plugin marketplace flow.
|
|
17
17
|
- It also ships generated bundle plugins so teams can install focused packs like `Essentials` or `Security Developer` from the marketplace metadata.
|
|
18
18
|
- It includes onboarding docs, bundles, and workflows so new users do not need to guess where to begin.
|
|
@@ -12,7 +12,7 @@ Install into the Gemini skills path, then ask Gemini to apply one skill at a tim
|
|
|
12
12
|
|
|
13
13
|
- It installs directly into the expected Gemini skills path.
|
|
14
14
|
- It includes both core software engineering skills and deeper agent/LLM-oriented skills.
|
|
15
|
-
- It helps new users get started with bundles and workflows rather than forcing a cold start from 1,
|
|
15
|
+
- It helps new users get started with bundles and workflows rather than forcing a cold start from 1,445+ files.
|
|
16
16
|
- It is useful whether you want a broad internal skill library or a single repo to test many workflows quickly.
|
|
17
17
|
|
|
18
18
|
## Install Gemini CLI Skills
|
|
@@ -18,7 +18,7 @@ Kiro is AWS's agentic AI IDE that combines:
|
|
|
18
18
|
|
|
19
19
|
Kiro's agentic capabilities are enhanced by skills that provide:
|
|
20
20
|
|
|
21
|
-
- **Domain expertise** across 1,
|
|
21
|
+
- **Domain expertise** across 1,445+ specialized areas
|
|
22
22
|
- **Best practices** from Anthropic, OpenAI, Google, Microsoft, and AWS
|
|
23
23
|
- **Workflow automation** for common development tasks
|
|
24
24
|
- **AWS-specific patterns** for serverless, infrastructure, and cloud architecture
|
|
@@ -14,7 +14,7 @@ If you came in through a **Claude Code** or **Codex** plugin instead of a full l
|
|
|
14
14
|
|
|
15
15
|
When you ran `npx antigravity-awesome-skills` or cloned the repository, you:
|
|
16
16
|
|
|
17
|
-
✅ **Downloaded 1,
|
|
17
|
+
✅ **Downloaded 1,445+ skill files** to your computer (default: `~/.gemini/antigravity/skills/`; or a custom path like `~/.agent/skills/` if you used `--path`)
|
|
18
18
|
✅ **Made them available** to your AI assistant
|
|
19
19
|
❌ **Did NOT enable them all automatically** (they're just sitting there, waiting)
|
|
20
20
|
|
|
@@ -34,7 +34,7 @@ Bundles are **curated groups** of skills organized by role. They help you decide
|
|
|
34
34
|
|
|
35
35
|
**Analogy:**
|
|
36
36
|
|
|
37
|
-
- You installed a toolbox with 1,
|
|
37
|
+
- You installed a toolbox with 1,445+ tools (✅ done)
|
|
38
38
|
- Bundles are like **labeled organizer trays** saying: "If you're a carpenter, start with these 10 tools"
|
|
39
39
|
- You can either **pick skills from the tray** or install that tray as a focused marketplace bundle plugin
|
|
40
40
|
|
|
@@ -212,7 +212,7 @@ Let's actually use a skill right now. Follow these steps:
|
|
|
212
212
|
|
|
213
213
|
## Step 5: Picking Your First Skills (Practical Advice)
|
|
214
214
|
|
|
215
|
-
Don't try to use all 1,
|
|
215
|
+
Don't try to use all 1,445+ skills at once. Here's a sensible approach:
|
|
216
216
|
|
|
217
217
|
If you want a tool-specific starting point before choosing skills, use:
|
|
218
218
|
|
|
@@ -343,7 +343,7 @@ Usually no, but if your AI doesn't recognize a skill:
|
|
|
343
343
|
|
|
344
344
|
### "Can I load all skills into the model at once?"
|
|
345
345
|
|
|
346
|
-
No. Even though you have 1,
|
|
346
|
+
No. Even though you have 1,445+ skills installed locally, you should **not** concatenate every `SKILL.md` into a single system prompt or context block.
|
|
347
347
|
|
|
348
348
|
The intended pattern is:
|
|
349
349
|
|
|
@@ -34,7 +34,7 @@ antigravity-awesome-skills/
|
|
|
34
34
|
├── 📄 CONTRIBUTING.md ← Contributor workflow
|
|
35
35
|
├── 📄 CATALOG.md ← Full generated catalog
|
|
36
36
|
│
|
|
37
|
-
├── 📁 skills/ ← 1,
|
|
37
|
+
├── 📁 skills/ ← 1,445+ skills live here
|
|
38
38
|
│ │
|
|
39
39
|
│ ├── 📁 brainstorming/
|
|
40
40
|
│ │ └── 📄 SKILL.md ← Skill definition
|
|
@@ -47,7 +47,7 @@ antigravity-awesome-skills/
|
|
|
47
47
|
│ │ └── 📁 2d-games/
|
|
48
48
|
│ │ └── 📄 SKILL.md ← Nested skills also supported
|
|
49
49
|
│ │
|
|
50
|
-
│ └── ... (1,
|
|
50
|
+
│ └── ... (1,445+ total)
|
|
51
51
|
│
|
|
52
52
|
├── 📁 apps/
|
|
53
53
|
│ └── 📁 web-app/ ← Interactive browser
|
|
@@ -100,7 +100,7 @@ antigravity-awesome-skills/
|
|
|
100
100
|
|
|
101
101
|
```
|
|
102
102
|
┌─────────────────────────┐
|
|
103
|
-
│ 1,
|
|
103
|
+
│ 1,445+ SKILLS │
|
|
104
104
|
└────────────┬────────────┘
|
|
105
105
|
│
|
|
106
106
|
┌────────────────────────┼────────────────────────┐
|
|
@@ -201,7 +201,7 @@ If you want a workspace-style manual install instead, cloning into `.agent/skill
|
|
|
201
201
|
│ ├── 📁 brainstorming/ │
|
|
202
202
|
│ ├── 📁 stripe-integration/ │
|
|
203
203
|
│ ├── 📁 react-best-practices/ │
|
|
204
|
-
│ └── ... (1,
|
|
204
|
+
│ └── ... (1,445+ total) │
|
|
205
205
|
└─────────────────────────────────────────┘
|
|
206
206
|
```
|
|
207
207
|
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: production-audit
|
|
3
|
+
description: "Audit a shipped repo for production-readiness gaps across RLS, webhooks, secrets, grants, Stripe idempotency, mobile UX, and deployment health."
|
|
4
|
+
category: security
|
|
5
|
+
risk: safe
|
|
6
|
+
source: community
|
|
7
|
+
source_repo: commitshow/production-audit
|
|
8
|
+
source_type: community
|
|
9
|
+
date_added: "2026-05-04"
|
|
10
|
+
author: commitshow
|
|
11
|
+
tags: [security, audit, production, vibe-coding, rls, webhook, stripe, supabase, mobile]
|
|
12
|
+
tools: [claude, cursor, gemini, codex, antigravity]
|
|
13
|
+
license: "MIT"
|
|
14
|
+
license_source: "https://github.com/commitshow/production-audit/blob/main/LICENSE"
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# Production Audit
|
|
18
|
+
|
|
19
|
+
## Overview
|
|
20
|
+
|
|
21
|
+
A skill that runs an external audit on a shipped repo's deployed state — live URL, GitHub signals, secrets exposure, RLS gaps, webhook idempotency, indexes, observability, prompt injection, and ten other failure modes that AI-assisted projects routinely miss.
|
|
22
|
+
|
|
23
|
+
This is **complementary** to in-session security skills (`security-review`, OWASP-style, VibeSec, Trail of Bits). Those scan the editor buffer at write-time. This scans the deployed product after you commit. Different timing, different inputs, different findings. Run both for serious launches.
|
|
24
|
+
|
|
25
|
+
The skill wraps the [commit.show](https://commit.show) audit engine via the public CLI (`npx commitshow audit . --json`). Stable JSON envelope (`schema_version: "1"`, additive-only). Writes a `.commitshow/audit.{md,json}` sidecar so future agent sessions can read prior state without re-running the engine.
|
|
26
|
+
|
|
27
|
+
## When to Use This Skill
|
|
28
|
+
|
|
29
|
+
- Use when the user asks "is this production-ready", "what would break in prod", "score my project", "what did I miss", "audit my repo", "ready to ship".
|
|
30
|
+
- Use right after merging a feature branch to `main` (helpful as a pre-deploy gate).
|
|
31
|
+
- Use before a public launch / Show HN post / investor demo.
|
|
32
|
+
- Use when `git log` shows >20 commits since the last `.commitshow/audit.md` was written.
|
|
33
|
+
|
|
34
|
+
### Skip when
|
|
35
|
+
|
|
36
|
+
- During active in-session coding — use `security-review` / OWASP-style for line-level patterns. This skill is for post-merge / pre-ship review.
|
|
37
|
+
- For library / scaffold-form repos — the engine handles **app form** best; libraries get a partial-substitute score.
|
|
38
|
+
- If `.commitshow/audit.json` already exists and is < 1 hour old, read that instead of re-running. Audit is rate-limited (anonymous: 20/IP/day · 5/repo/day · 2000/day global).
|
|
39
|
+
- Inside a private / non-GitHub repo — the audit pulls public GitHub signals, so private repos return a `not_found` error.
|
|
40
|
+
|
|
41
|
+
## How It Works
|
|
42
|
+
|
|
43
|
+
### Step 1: Run the audit
|
|
44
|
+
|
|
45
|
+
From the repo root. The CLI is pinned to a known-good range (an attacker-pushed `0.4.x` won't be picked up silently — bumping the floor is a deliberate edit), the sidecar directory is created up-front, and stderr is split off so install/deprecation warnings can't corrupt the JSON envelope:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
mkdir -p .commitshow
|
|
49
|
+
npx commitshow@^0.3.23 audit . --json \
|
|
50
|
+
> .commitshow/audit.json \
|
|
51
|
+
2> .commitshow/audit.stderr.log
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
This also writes a human-readable `.commitshow/audit.md` next to it. Subsequent invocations should diff against the prior `audit.json` if it exists, so you can lead with "+5 since yesterday's audit" instead of just an absolute number.
|
|
55
|
+
|
|
56
|
+
If the user pointed at a remote URL instead of `.`, swap `.` for the URL — keep the same `mkdir -p` + version pin + stderr split:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
mkdir -p .commitshow
|
|
60
|
+
npx commitshow@^0.3.23 audit github.com/owner/repo --json \
|
|
61
|
+
> .commitshow/audit.json \
|
|
62
|
+
2> .commitshow/audit.stderr.log
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Step 2: Parse the envelope
|
|
66
|
+
|
|
67
|
+
The JSON envelope is stable (`schema_version: "1"`, additive-only). Read these fields:
|
|
68
|
+
|
|
69
|
+
| Field | Meaning |
|
|
70
|
+
|---|---|
|
|
71
|
+
| `score.total` | 0-100 production-readiness score |
|
|
72
|
+
| `score.delta_since_last` | change vs. parent snapshot · positive = improving |
|
|
73
|
+
| `score.band` | `strong` (80+) · `mid` (60-79) · `early` (<60) |
|
|
74
|
+
| `concerns[]` | top issues, ordered by impact · each has `axis` + `bullet` |
|
|
75
|
+
| `strengths[]` | top 3 things that work · for context only |
|
|
76
|
+
| `standing` | optional · only when the project is auditioning on commit.show |
|
|
77
|
+
| `snapshot.created_at` / `trigger_type` | when the audit ran |
|
|
78
|
+
|
|
79
|
+
Concerns are sorted by decision-impact, not severity. Position 1 is the bullet to lead with.
|
|
80
|
+
|
|
81
|
+
### Step 3: Surface to the user
|
|
82
|
+
|
|
83
|
+
Lead with score + trajectory in **one sentence**, then the top concerns. Do not dump the full JSON. Format:
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
Score: 82/100 (+5 since yesterday) · band: strong
|
|
87
|
+
|
|
88
|
+
Top concerns:
|
|
89
|
+
↓ [Security] No API rate limiting on /auth — IP cap missing
|
|
90
|
+
↓ [Infrastructure] webhook handler at api/stripe.ts — signature verified, but no
|
|
91
|
+
idempotency-key check (replay attack window open)
|
|
92
|
+
|
|
93
|
+
Want me to fix the webhook idempotency gap first?
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Rules:
|
|
97
|
+
- Use the exact bullet from `concerns[].bullet` — the audit engine already wrote action-oriented copy.
|
|
98
|
+
- Don't list strengths unless the user explicitly asks. They're not actionable in this context.
|
|
99
|
+
- Always end with a follow-up question that names a specific concern. Don't ask "what do you want to do?" — ask "fix X first?".
|
|
100
|
+
- If `score.delta_since_last` is negative or null, lead with the absolute score only.
|
|
101
|
+
|
|
102
|
+
### Step 4: If the user picks a concern, scope a fix
|
|
103
|
+
|
|
104
|
+
For the chosen concern:
|
|
105
|
+
1. Read the file(s) cited in the bullet.
|
|
106
|
+
2. Confirm the gap matches the description (the engine occasionally over-flags when the issue is mitigated elsewhere).
|
|
107
|
+
3. Propose a minimal patch — single-file when possible.
|
|
108
|
+
4. **Don't apply without explicit approval.** Show the diff first. The user is deciding what to ship; you're a lens.
|
|
109
|
+
|
|
110
|
+
After applying a fix, suggest re-running with `--refresh` (same canonical form as Step 1, so `audit.json` stays the source of truth for delta calculations):
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
mkdir -p .commitshow
|
|
114
|
+
npx commitshow@^0.3.23 audit . --json --refresh \
|
|
115
|
+
> .commitshow/audit.json \
|
|
116
|
+
2> .commitshow/audit.stderr.log
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## Examples
|
|
120
|
+
|
|
121
|
+
### Example 1: User asks "is this production-ready?"
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
mkdir -p .commitshow
|
|
125
|
+
npx commitshow@^0.3.23 audit . --json \
|
|
126
|
+
> .commitshow/audit.json \
|
|
127
|
+
2> .commitshow/audit.stderr.log
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Then surface:
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
Score: 67/100 · band: mid
|
|
134
|
+
|
|
135
|
+
Top concerns:
|
|
136
|
+
↓ [Security] members table uses column-level GRANT but paid_audits_credit
|
|
137
|
+
column lacks SELECT grant — silent 42501 on every read
|
|
138
|
+
↓ [Infrastructure] stripe.checkout.sessions.create called without
|
|
139
|
+
idempotencyKey — duplicate-charge surface
|
|
140
|
+
|
|
141
|
+
Want me to fix the column GRANT first? Single SQL line.
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Example 2: Cross-check a specific concern
|
|
145
|
+
|
|
146
|
+
User: "show me where the webhook idempotency gap is"
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
cat .commitshow/audit.json | jq '.concerns[] | select(.axis=="Infrastructure")'
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
Find the file path in the bullet, read it, confirm the gap matches.
|
|
153
|
+
|
|
154
|
+
## Best Practices
|
|
155
|
+
|
|
156
|
+
- ✅ Always cite the exact bullet from `concerns[].bullet` — they're already action-oriented
|
|
157
|
+
- ✅ Lead with score + delta in a single sentence, then concerns
|
|
158
|
+
- ✅ End with a specific follow-up question naming a concern
|
|
159
|
+
- ✅ Read prior `.commitshow/audit.json` before re-running (within 1h)
|
|
160
|
+
- ✅ Use `--refresh` after the user merges a fix so the next audit reflects it
|
|
161
|
+
- ❌ Don't dump full JSON to the user
|
|
162
|
+
- ❌ Don't list strengths unless the user explicitly asks
|
|
163
|
+
- ❌ Don't apply fixes without approval — show diff first
|
|
164
|
+
- ❌ Don't fault private repos for not auditing — explain why and suggest making public
|
|
165
|
+
|
|
166
|
+
## Limitations
|
|
167
|
+
|
|
168
|
+
- This skill does not replace environment-specific validation, testing, or expert review.
|
|
169
|
+
- The audit engine is calibrated for **deployed apps** with a live URL. CLI / library / scaffold form gets a partial-substitute score (max ~45/50 on the audit pillar) — fair but not flattering.
|
|
170
|
+
- Behind a corporate firewall blocking `*.supabase.co`, the API call fails. There is no offline mode — the audit relies on the public engine.
|
|
171
|
+
- Cold audit takes 60-90s. Cached audits (within 7 days) return instantly. `--refresh` force-bypasses cache (counts against rate limits).
|
|
172
|
+
|
|
173
|
+
## Security & Safety Notes
|
|
174
|
+
|
|
175
|
+
- The skill executes `npx commitshow@latest audit ...` which is a network call to a public API at `https://api.commit.show` (proxied to Supabase Edge Functions). No credentials are sent — anonymous usage subject to per-IP / per-URL / global rate limits.
|
|
176
|
+
- The CLI writes `.commitshow/audit.{md,json}` in the current working directory. These files are safe to commit (no secrets) but conventionally gitignored as transient artifacts.
|
|
177
|
+
- The audit engine **only reads** public GitHub signals. It does not modify the user's repo or push commits.
|
|
178
|
+
- All per-finding fix proposals must be shown as diffs and approved by the user before any edit. Never apply without explicit confirmation.
|
|
179
|
+
|
|
180
|
+
## Common Pitfalls
|
|
181
|
+
|
|
182
|
+
- **Problem:** Audit returns `not_found` for a private repo
|
|
183
|
+
**Solution:** The engine pulls public GitHub signals only. Either make the repo public or use `--no-network` for local-only deterministic checks.
|
|
184
|
+
|
|
185
|
+
- **Problem:** Rate limit hit (`429`)
|
|
186
|
+
**Solution:** Wait until next day (limits reset 00:00 UTC) or sign in at commit.show for higher per-repo caps.
|
|
187
|
+
|
|
188
|
+
- **Problem:** Score seems too low for a polished library / CLI
|
|
189
|
+
**Solution:** The engine biases toward app form. CLI / library / scaffold gets a partial substitute score capped around 45/50 on the audit pillar. Calibration acknowledged trade-off.
|
|
190
|
+
|
|
191
|
+
- **Problem:** `concerns[]` is empty after re-running
|
|
192
|
+
**Solution:** Re-audit may have hit cache. Use `--refresh` to force-bypass.
|
|
193
|
+
|
|
194
|
+
## Related Skills
|
|
195
|
+
|
|
196
|
+
- `@security-review` — In-session line-level security patterns. Run alongside this skill, not in place of.
|
|
197
|
+
- `@vibesec` — Editor-buffer security review for vibe-coded projects. Different lens.
|
|
198
|
+
- `@owasp-security` — OWASP Top 10 coverage during coding. Companion.
|
|
199
|
+
- `@trail-of-bits-skills` — CodeQL / Semgrep static analysis. Different layer.
|
|
200
|
+
|
|
201
|
+
## Additional Resources
|
|
202
|
+
|
|
203
|
+
- Canonical repo: <https://github.com/commitshow/production-audit>
|
|
204
|
+
- Audit engine source: <https://github.com/commitshow/commitshow/blob/main/supabase/functions/analyze-project/index.ts>
|
|
205
|
+
- 14-frame failure framework documented in the engine source above.
|
|
206
|
+
- JSON schema: stable at `schema_version: "1"` · additive-only changes.
|
|
207
|
+
- CLI: <https://github.com/commitshow/cli>
|
|
208
|
+
- Public REST API: `https://api.commit.show/audit?repo=...&format=json`
|
|
209
|
+
- skills.sh listing: <https://skills.sh/commitshow/production-audit>
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: recursive-context-pruning-token-budgeting
|
|
3
|
+
description: "Optimizes AI agent performance by pruning redundant context, managing token usage, and enforcing ultra-concise, direct-to-value responses."
|
|
4
|
+
category: prompt-engineering
|
|
5
|
+
risk: safe
|
|
6
|
+
source: self
|
|
7
|
+
source_repo: Kench001/antigravity-awesome-skills
|
|
8
|
+
source_type: self
|
|
9
|
+
date_added: "2026-05-03"
|
|
10
|
+
author: Kench001
|
|
11
|
+
tags: [efficiency, token-optimization, brevity, context-management]
|
|
12
|
+
tools: [claude, cursor, gemini]
|
|
13
|
+
# Optional: declare the upstream license if source_repo is set
|
|
14
|
+
# license: "MIT"
|
|
15
|
+
# license_source: "https://github.com/owner/repo/blob/main/LICENSE"
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# Recursive Context Pruning & Token Budgeting
|
|
19
|
+
|
|
20
|
+
## Overview
|
|
21
|
+
|
|
22
|
+
This skill implements a "Gatekeeper" logic to prevent context window bloat and unnecessary token expenditure. It ensures the agent only processes relevant data shards and adheres to an Atomic Precision protocol—delivering functional answers with zero conversational filler. By recursively summarizing state and stripping "bridge phrases," it maximizes the longevity and speed of long-running development workflows.
|
|
23
|
+
|
|
24
|
+
## When to Use This Skill
|
|
25
|
+
|
|
26
|
+
- Use when building multi-step agents to prevent repetition and "memory drift" in long conversations.
|
|
27
|
+
- Use when working with large document sets or codebases to avoid dumping entire files into the prompt.
|
|
28
|
+
- Use when you need purely functional output (code/logic) without "Sure! Here is your..." intros.
|
|
29
|
+
|
|
30
|
+
## How It Works
|
|
31
|
+
|
|
32
|
+
### Step 1: Metadata Sharding
|
|
33
|
+
|
|
34
|
+
Scan the available data for headers, summaries, and key indicators. Create a "map" of the context rather than injecting the full source. Never pull the entire file into the prompt unless a specific, narrowed fragment is requested.
|
|
35
|
+
|
|
36
|
+
### Step 2: Token Budget Allocation
|
|
37
|
+
|
|
38
|
+
Calculate a "Safe Response Limit" based on the current context window. Allocate 30% for current logic processing, 20% for immediate output, and 50% for a future context buffer.
|
|
39
|
+
|
|
40
|
+
### Step 3: Atomic Output Filtering
|
|
41
|
+
|
|
42
|
+
Strip all "Bridge Phrases" (e.g., "I've updated the code," "Based on your request," "Sure"). Start the response immediately with the solution or the code block.
|
|
43
|
+
|
|
44
|
+
### Step 4: Ambiguity Check
|
|
45
|
+
|
|
46
|
+
Before executing Step 3, scan for missing critical variables (e.g., specific file names or environment types). If the prompt is too ambiguous, bypass the atomic output and generate exactly one concise question to resolve the blocker.
|
|
47
|
+
|
|
48
|
+
### Step 5: Abstractive Compression
|
|
49
|
+
|
|
50
|
+
Summarize the current turn into a "compressed state string" (e.g., `[Project: Feasify | State: Auth-Fixed | Remaining-Tasks: 2]`) to discard redundant conversational data before the next prompt.
|
|
51
|
+
|
|
52
|
+
## Examples
|
|
53
|
+
|
|
54
|
+
### Example 1: Filtered Code Output (No Filler)
|
|
55
|
+
|
|
56
|
+
```text
|
|
57
|
+
User: "Update the Firebase config to use environment variables."
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
```javascript
|
|
61
|
+
const firebaseConfig = {
|
|
62
|
+
apiKey: process.env.VITE_FIREBASE_API_KEY,
|
|
63
|
+
authDomain: process.env.VITE_FIREBASE_AUTH_DOMAIN,
|
|
64
|
+
projectId: process.env.VITE_FIREBASE_PROJECT_ID
|
|
65
|
+
};
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Example 2: Essential Clarification
|
|
69
|
+
|
|
70
|
+
```text
|
|
71
|
+
User: "Deploy the function."
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
```text
|
|
75
|
+
"Specify environment: production or staging?"
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Best Practices
|
|
79
|
+
|
|
80
|
+
- ✅ **Direct Start:** Place the code or answer at the very first character of the response.
|
|
81
|
+
- ✅ **Summarize-as-you-go:** Turn 10 pages of discussion into 5 bullet points for the next turn.
|
|
82
|
+
- ✅ **Omit Signatures:** Never end with "Let me know if you need more help."
|
|
83
|
+
- ❌ **No Bridge Phrases:** Avoid "Here is the code," "Sure," or "I can help with that."
|
|
84
|
+
- ❌ **No Guessing:** If input is missing, ask immediately rather than wasting tokens on a generic guess.
|
|
85
|
+
|
|
86
|
+
## Limitations
|
|
87
|
+
|
|
88
|
+
- This skill does not replace environment-specific validation, testing, or expert review.
|
|
89
|
+
- Extreme brevity can occasionally hide important nuances; use concise inline comments (`// crucial step`) for critical notes.
|
|
90
|
+
|
|
91
|
+
## Security & Safety Notes
|
|
92
|
+
|
|
93
|
+
- Never prune safety headers, environment-specific security constraints, or system-level instructions during the compression stage.
|
|
94
|
+
- Maintain original system instructions at the "Root" of the context to prevent context-loss-based jailbreaks.
|
|
95
|
+
|
|
96
|
+
## Common Pitfalls
|
|
97
|
+
|
|
98
|
+
- **Problem:** The response is so brief it lacks the context needed for implementation.
|
|
99
|
+
**Solution:** Use concise inline code comments instead of separate paragraphs of text.
|
|
100
|
+
|
|
101
|
+
- **Problem:** The agent loses the overarching goal due to over-compression.
|
|
102
|
+
**Solution:** Always pin the "Primary Objective" to the top of every pruned prompt.
|
|
103
|
+
|
|
104
|
+
## Related Skills
|
|
105
|
+
|
|
106
|
+
- `@atomic-precision-response` - Specifically for removing conversational filler.
|
|
107
|
+
- `@context-sharding` - For managing large-scale documentation mapping.
|
|
108
|
+
|
package/package.json
CHANGED
package/skills_index.json
CHANGED
|
@@ -22442,6 +22442,28 @@
|
|
|
22442
22442
|
"reasons": []
|
|
22443
22443
|
}
|
|
22444
22444
|
},
|
|
22445
|
+
{
|
|
22446
|
+
"id": "production-audit",
|
|
22447
|
+
"path": "skills/production-audit",
|
|
22448
|
+
"category": "security",
|
|
22449
|
+
"name": "production-audit",
|
|
22450
|
+
"description": "Audit a shipped repo for production-readiness gaps across RLS, webhooks, secrets, grants, Stripe idempotency, mobile UX, and deployment health.",
|
|
22451
|
+
"risk": "safe",
|
|
22452
|
+
"source": "community",
|
|
22453
|
+
"date_added": "2026-05-04",
|
|
22454
|
+
"plugin": {
|
|
22455
|
+
"targets": {
|
|
22456
|
+
"codex": "supported",
|
|
22457
|
+
"claude": "supported"
|
|
22458
|
+
},
|
|
22459
|
+
"setup": {
|
|
22460
|
+
"type": "none",
|
|
22461
|
+
"summary": "",
|
|
22462
|
+
"docs": null
|
|
22463
|
+
},
|
|
22464
|
+
"reasons": []
|
|
22465
|
+
}
|
|
22466
|
+
},
|
|
22445
22467
|
{
|
|
22446
22468
|
"id": "production-code-audit",
|
|
22447
22469
|
"path": "skills/production-code-audit",
|
|
@@ -23566,6 +23588,28 @@
|
|
|
23566
23588
|
"reasons": []
|
|
23567
23589
|
}
|
|
23568
23590
|
},
|
|
23591
|
+
{
|
|
23592
|
+
"id": "recursive-context-pruning-token-budgeting",
|
|
23593
|
+
"path": "skills/recursive-context-pruning-token-budgeting",
|
|
23594
|
+
"category": "prompt-engineering",
|
|
23595
|
+
"name": "recursive-context-pruning-token-budgeting",
|
|
23596
|
+
"description": "Optimizes AI agent performance by pruning redundant context, managing token usage, and enforcing ultra-concise, direct-to-value responses.",
|
|
23597
|
+
"risk": "safe",
|
|
23598
|
+
"source": "self",
|
|
23599
|
+
"date_added": "2026-05-03",
|
|
23600
|
+
"plugin": {
|
|
23601
|
+
"targets": {
|
|
23602
|
+
"codex": "supported",
|
|
23603
|
+
"claude": "supported"
|
|
23604
|
+
},
|
|
23605
|
+
"setup": {
|
|
23606
|
+
"type": "none",
|
|
23607
|
+
"summary": "",
|
|
23608
|
+
"docs": null
|
|
23609
|
+
},
|
|
23610
|
+
"reasons": []
|
|
23611
|
+
}
|
|
23612
|
+
},
|
|
23569
23613
|
{
|
|
23570
23614
|
"id": "red-team-tactics",
|
|
23571
23615
|
"path": "skills/red-team-tactics",
|