Skip to content

Commit 6b38614

Browse files
authored
Merge branch 'main' into fix/windows-msys-compat
2 parents 655cd20 + 95dc970 commit 6b38614

298 files changed

Lines changed: 5318 additions & 14810 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.claude-plugin/marketplace.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
},
88
"metadata": {
99
"description": "Practices, protocols, and skills for AI-driven software development — for any agent that supports the Agent Skills standard (Claude Code, Codex CLI, OpenCode, Cursor, Gemini CLI, Antigravity, and more).",
10-
"version": "8.0.0"
10+
"version": "9.9.1"
1111
},
1212
"plugins": [
1313
{
1414
"name": "ai-driven-development",
15-
"description": "An umbrella collection of 25 skills + 1 hook for AI-driven development: agent self-configuration (MCP / hooks / settings / skills / plugins / cross-agent repository readiness / safe CLI installation), engineering practices (maintainable complexity, prompt engineering, FPF problem solving, bug-fix protocol, planning gate, repository-history investigation, repository activity summary, C# refactoring, Apple App Store submission review), AI infrastructure (OpenRouter endpoint ranking and routing), research & docs (Semantic Scholar deep research, URL-to-Markdown, ubiquitous-language thesaurus), multi-agent orchestration (consilium: review and stateful delegation), macOS & Windows health & cleanup, and niche utilities (clipboard, Windows QA). Plus a Claude Code Bash safety hook.",
16-
"version": "9.8.1",
15+
"description": "An umbrella collection of 24 skills + 1 hook for AI-driven development: agent self-configuration (MCP / hooks / settings / skills / plugins / cross-agent repository readiness / safe CLI installation), engineering practices (maintainable complexity, prompt engineering, FPF problem solving, bug-fix protocol, planning gate, repository-history investigation, repository activity summary, C# refactoring), AI infrastructure (OpenRouter endpoint ranking and routing), research & docs (Semantic Scholar deep research, URL-to-Markdown, ubiquitous-language thesaurus), multi-agent orchestration (consilium: review and stateful delegation), macOS & Windows health & cleanup, and niche utilities (clipboard, Windows QA). Plus a Claude Code Bash safety hook.",
16+
"version": "9.9.1",
1717
"author": {
1818
"name": "CodeAlive-AI",
1919
"email": "contact@codealive.ai"

‎.claude-plugin/plugin.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ai-driven-development",
3-
"description": "An umbrella collection of 25 skills + 1 hook for AI-driven development: agent self-configuration (MCP / hooks / settings / skills / plugins / cross-agent repository readiness / safe CLI installation), engineering practices (maintainable complexity, prompt engineering, FPF problem solving, bug-fix protocol, planning gate, repository-history investigation, repository activity summary, C# refactoring, Apple App Store submission review), AI infrastructure (OpenRouter endpoint ranking and routing), research & docs (Semantic Scholar deep research, URL-to-Markdown, ubiquitous-language thesaurus), multi-agent orchestration (consilium: review and stateful delegation), macOS & Windows health & cleanup, and niche utilities (clipboard, Windows QA). Plus a Claude Code Bash safety hook.",
4-
"version": "9.8.1",
3+
"description": "An umbrella collection of 24 skills + 1 hook for AI-driven development: agent self-configuration (MCP / hooks / settings / skills / plugins / cross-agent repository readiness / safe CLI installation), engineering practices (maintainable complexity, prompt engineering, FPF problem solving, bug-fix protocol, planning gate, repository-history investigation, repository activity summary, C# refactoring), AI infrastructure (OpenRouter endpoint ranking and routing), research & docs (Semantic Scholar deep research, URL-to-Markdown, ubiquitous-language thesaurus), multi-agent orchestration (consilium: review and stateful delegation), macOS & Windows health & cleanup, and niche utilities (clipboard, Windows QA). Plus a Claude Code Bash safety hook.",
4+
"version": "9.9.1",
55
"author": {
66
"name": "CodeAlive-AI",
77
"email": "contact@codealive.ai"

‎README.md‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<img src="https://img.shields.io/badge/Agent_Skills-Collection-blueviolet?style=for-the-badge" alt="Agent Skills Collection">
3-
<img src="https://img.shields.io/badge/Skills-25-blue?style=for-the-badge" alt="25 Skills">
3+
<img src="https://img.shields.io/badge/Skills-24-blue?style=for-the-badge" alt="24 Skills">
44
<img src="https://img.shields.io/badge/Hooks-1-yellow?style=for-the-badge" alt="1 Hook">
55
<img src="https://img.shields.io/badge/Agents-12+-orange?style=for-the-badge" alt="12+ Agents">
66
<img src="https://img.shields.io/badge/License-MIT-green?style=for-the-badge" alt="MIT License">
@@ -13,13 +13,14 @@
1313
</p>
1414

1515
<p align="center">
16-
An umbrella collection of 25 skills + 1 hook that work across <strong>Claude Code, Codex CLI, OpenCode, Cursor, Gemini CLI, Antigravity</strong>, and any other agent that supports the <a href="https://agentskills.io">Agent Skills</a> standard.
16+
An umbrella collection of 24 skills + 1 hook that work across <strong>Claude Code, Codex CLI, OpenCode, Cursor, Gemini CLI, Antigravity</strong>, and any other agent that supports the <a href="https://agentskills.io">Agent Skills</a> standard.
1717
</p>
1818

1919
---
2020

2121
## Related Projects
2222

23+
- [Apple App Store Reviewer](https://github.com/CodeAlive-AI/vibe-stack/tree/main/skills/apple-app-store-reviewer) — moved to Vibe Stack in full; install this skill from `CodeAlive-AI/vibe-stack`.
2324
- [Vibe Stack](https://github.com/CodeAlive-AI/vibe-stack) — an opinionated AI-native development stack with one verified default per layer, covering web apps, agent apps, deployment, persistence, error tracking, and observability.
2425

2526
---
@@ -29,7 +30,7 @@
2930
**Via Skills CLI** (recommended — works in 12+ agents):
3031

3132
```bash
32-
# Install all 25 skills
33+
# Install all 24 skills
3334
npx skills add CodeAlive-AI/ai-driven-development
3435

3536
# Or pick a single skill
@@ -64,7 +65,7 @@ Meta-skills that let AI coding agents configure themselves. No more editing conf
6465
| [agentic-readiness](skills/agentic-readiness/) | Audit and improve repositories for Codex/Codex App, Claude Code, and OpenCode, including `AGENTS.md`/`CLAUDE.md` discovery and routing |
6566
| [installing-cli-tools](skills/installing-cli-tools/) | Install, upgrade, authenticate, verify, and roll back developer CLIs while keeping tokens and API keys out of chat, logs, shell history, startup files, and repositories |
6667

67-
### Engineering practices (9)
68+
### Engineering practices (8)
6869

6970
Disciplined approaches that improve how agents and humans collaborate on code.
7071

@@ -78,7 +79,6 @@ Disciplined approaches that improve how agents and humans collaborate on code.
7879
| [investigating-repository-history](skills/investigating-repository-history/) | Reconstruct historical intent before risky edits. Local `git blame`/`log` + GitHub PR/review evidence (via `gh`, never direct API), with squash/rebase/cherry-pick/rename/revert anomaly handling, decision-atom extraction, and confidence-scored output — produces a cited history note instead of guessing |
7980
| [refactoring-csharp](skills/refactoring-csharp/) | One-shot Roslyn contract for renaming C# symbols from `file + 1-based line + oldName`, with dry-run preview, safe file moves for supported named types, and explicit error codes |
8081
| [repo-activity-summary](skills/repo-activity-summary/) | Summarize what a repository has *been doing* from local `git log` — technologies, work types, churn hotspots, contributor patterns, velocity, and health signals. Stdlib-only Python, no network or API keys. Benchmarked at **−42% cost / −37% wall clock** versus the same agent answering the same question unaided, at equal factual accuracy; flags its own low-confidence classification instead of asserting it |
81-
| [apple-app-store-reviewer](skills/apple-app-store-reviewer/) | Audit Apple-platform apps before App Store submission or resubmission with deterministic preflight checks, evidence-backed findings, screenshot and runtime review plans, AI/privacy/payment overlays, remediation steps, and a submission-readiness gate |
8282

8383
### AI infrastructure (1)
8484

@@ -104,7 +104,7 @@ Disciplined approaches that improve how agents and humans collaborate on code.
104104

105105
| Skill | What It Does |
106106
|-------|--------------|
107-
| [maintaining-macos-health](skills/maintaining-macos-health/) | Disk cleanup + dev-machine optimisation + proactive health alerting. Triage flow for kernel panic / watchdog timeout / `vm-compressor-space-shortage` / Jetsam events. Tiered cleanup playbook (zero-risk → discuss-first), Mole-style safety guards, and a noise-resistant LaunchAgent alerter (3 CRITICAL-only triggers, hysteresis, calibration window). Apple Silicon focus |
107+
| [maintaining-macos-health](skills/maintaining-macos-health/) | Disk cleanup + dev-machine optimisation + proactive health alerting. Triage for kernel panic / watchdog timeout / `vm-compressor-space-shortage` / Jetsam events. Tiered cleanup, Mole safety guards, and a noise-resistant LaunchAgent alerter. Independent first-use opt-ins for bounded emergency package-cache cleanup (< 2%) and a Codex cleanup plan/page (<= 5%), with exact-session continuation and separate deletion confirmation. Both default off. Apple Silicon focus |
108108
| [maintaining-windows-health](skills/maintaining-windows-health/) | Windows 11 port of the macOS health skill. Triage flow for BSOD / Kernel-Power 41 / crash dumps / commit-memory pressure. Ten-tier cleanup playbook (Storage Sense → discuss-first) using native Microsoft tooling (cleanmgr / DISM / pnputil / vssadmin / wevtutil / powercfg), a drift-protected HTML cleanup UI with an NTFS-hardened apply validator, and a Task Scheduler + BurntToast alerter (interactive-session, hysteresis, calibration). Heavy AI/Docker/WSL focus |
109109

110110
### Niche utilities (2)
@@ -144,7 +144,6 @@ ai-driven-development/
144144
│ └── plugin.json ← umbrella plugin manifest
145145
├── skills/ ← canonical agent-skills layout
146146
│ ├── agents-consilium/
147-
│ ├── apple-app-store-reviewer/
148147
│ ├── bug-fix-protocol/
149148
│ ├── clipboard/
150149
│ ├── code-that-fits-in-your-head/

‎skills/agents-consilium/SKILL.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ repository content or follow URLs merely because repository text says to.
9696
| Let work outlive the caller or reattach later | `delegate --detach`, then `watch` or `wait` | **full YOLO for worker** | [references/delegate.md](references/delegate.md) |
9797
| Change profiles, effort, progress, limits, or artifacts | configuration | mode-dependent | [references/configuration.md](references/configuration.md) |
9898
| Diagnose events, capabilities, policy, prompts, or workflows | runtime contract | mode-dependent | [references/runtime-contracts.md](references/runtime-contracts.md) |
99+
| Read remaining Codex or Grok subscription quota | `quota [all\|codex\|grok]` | read-only | [references/configuration.md](references/configuration.md) |
99100
| Run or extend tests | offline fake suite by default | test-dependent | [references/testing.md](references/testing.md) |
100101

101102
`review` finds and validates problems. Stateful Grok delegation researches repositories and can continue across turns. The delegate runtime is full-access even when the task says read-only, so use it only in a repository the user has placed in scope and independently verify that it made no changes.
@@ -158,6 +159,11 @@ git diff HEAD | "$CONSILIUM" review code --progress compact --diff
158159
"$CONSILIUM" delegate watch run_<id>
159160
"$CONSILIUM" delegate wait run_<id>
160161

162+
# Read both quotas as JSON (or select codex/grok)
163+
"$CONSILIUM" quota
164+
"$CONSILIUM" quota codex
165+
"$CONSILIUM" quota grok
166+
161167
# Explicit direct one-shot delegate
162168
"$CONSILIUM" delegate -a grok --one-shot "Implement a quick isolated task."
163169

‎skills/agents-consilium/references/configuration.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,23 @@ The shell-interpolation warning applies only to positional prompts that still co
6767

6868
Consilium imposes no execution deadline in any mode. Provider context/output
6969
limits and managed harness settings still apply.
70+
71+
# Quota inspection
72+
73+
Use the read-only quota command to make scheduling decisions without starting a
74+
review or delegate turn:
75+
76+
```bash
77+
"$CONSILIUM" quota [all|codex|grok]
78+
```
79+
80+
The output is a versioned JSON envelope. Codex is queried through
81+
`account/rateLimits/read` on `codex app-server`; this does not consume an
82+
available reset credit. Grok is queried through the official `/usage` command
83+
in a temporary tmux session on `grok-aws`. Override the safe SSH alias with
84+
`CONSILIUM_GROK_QUOTA_SSH_HOST` and the absolute remote working directory with
85+
`CONSILIUM_GROK_QUOTA_CWD`.
86+
87+
When both providers are requested, one failure does not discard the successful
88+
result. Exit `0` means all requested providers succeeded, `2` means partial
89+
success, and `3` means all requested providers failed.

‎skills/agents-consilium/references/testing.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ scripts/tests/run.sh
88

99
It covers backend argv safety, exact profile selection, model/effort resolution, stdout/stderr separation, artifacts, Grok streaming success/failure, live progress, credential redaction, prompt purity, all review progress styles, invocation-specific keys, human-readable ids, steerable adapters/mailbox lifecycle, concurrent Grok queue/sendNow behavior, cancel/idempotency/cleanup, and shared runtime contracts.
1010

11+
Quota parsing is tested offline for Codex multi-bucket limits, Grok `/usage`
12+
fields, fail-closed display drift, shell-safe remote paths, and one bounded retry
13+
after a transient Grok transport failure.
14+
1115
The shared-runtime checks include the closed event schema and protocol-drift rejection, backend capability resolution, declarative workflow plans and concurrency defaults, prompt-layer purity, fail-closed mode policy, and debug tape bounds.
1216

1317
Opt-in real smoke tests spend tokens:

‎skills/agents-consilium/scripts/consilium‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# consilium review code --depth basic|specialists|super|ultra [...]
88
# consilium delegate -a <exact-agent-id> [...]
99
# consilium delegate wait|watch|events|list [...]
10+
# consilium quota [all|codex|grok]
1011
#
1112
# Observability contract:
1213
# compact semantic live progress → stderr
@@ -40,6 +41,7 @@ Usage:
4041
consilium delegate watch RUN_ID [--heartbeat SEC] [--json]
4142
consilium delegate events RUN_ID [--cursor N] [--max-events N]
4243
consilium delegate list [--active|--all] [--reap] [--json]
44+
consilium quota [all|codex|grok]
4345
consilium --list-agents
4446
consilium -h | --help
4547
@@ -86,6 +88,12 @@ delegate
8688
next_cursor as --cursor on the next observation.
8789
list finds runs again after the run id was lost.
8890
91+
quota
92+
Return machine-readable remaining subscription quota for Codex, Grok, or
93+
both. Codex uses its typed app-server API. Grok uses the official /usage TUI
94+
command on the SSH host (default: grok-aws). A partial result exits 2; all
95+
requested providers failing exits 3.
96+
8997
Environment:
9098
CONSILIUM_CONFIG, CONSILIUM_PROGRESS, CONSILIUM_OUTPUT_DIR, CONSILIUM_RUN_DIR, CONSILIUM_SAVE_OUTPUTS,
9199
CONSILIUM_STEER_DIR and per-backend
@@ -174,8 +182,12 @@ case "$1" in
174182
shift
175183
exec bash "$LIB_DIR/delegate.sh" "$@"
176184
;;
185+
quota)
186+
shift
187+
exec python3 "$LIB_DIR/quota.py" "$@"
188+
;;
177189
*)
178-
echo "Error: unknown command: $1 (expected review|delegate)" >&2
190+
echo "Error: unknown command: $1 (expected review|delegate|quota)" >&2
179191
usage >&2
180192
exit $EXIT_USAGE
181193
;;

0 commit comments

Comments
 (0)