feat: AGS v0 — cross-agent skill management CLI#2
Merged
Binb1 merged 3 commits intofeat/ags-v0from Apr 4, 2026
Merged
Conversation
…cation - Remove 7 unused functions: serializeFrontmatter, formatNum, isGitRepo, badgeSeverity, printSuccess, subheading, getAgentNames - Export and share stripAnsi, pad, shortenPath from output.ts - Extract parseScopeFlag utility (was duplicated in scan.ts and budget.ts) - Extract expandPattern utility for tilde expansion (was duplicated in agents.ts and grab.ts) - Consolidate isAgentInstalled into one-liner using getBinaryPath - Collapse parseGitHubUrl from two branches into one - Replace heading() wrapper with direct c.bold() calls - Simplify extractMcpService to use a regex lookup table - Fix daysAgo duplication in budget.ts suggestion generation Net: -154 lines across 12 files with no behavior changes. https://claude.ai/code/session_01Y39PzBHtkF77d3DaqcZMpt
- Sanitize skill name in grab to strip path separators and ../ sequences (prevents writing files outside intended skills directory) - Add 10s fetch timeout and 1MB response size limit in fetchRawContent - Skip >50MB session files in stats to prevent memory exhaustion - Tighten rm path matching to require "/" boundary in endsWith check https://claude.ai/code/session_01Y39PzBHtkF77d3DaqcZMpt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Zero-dependency Bun CLI that discovers, measures, and manages AI agent
skills across Claude Code, Cursor, and Codex.
Commands:
scan — discover all skills, commands, agents, and rules
with health badges, scope/type/agent filtering,
and colored grouped output
skill-cost — context tax breakdown per agent with bar charts
and optimization suggestions
grab — install skills from GitHub blob URLs
rm — remove skills by name or path
stats — usage dashboard with sessions, PRs created,
token usage, MCP integrations, skill/subagent
invocations, and peak hours heatmap
list-agents — detect installed agents with skill counts
Design:
(skills, commands, agents, rules — both flat .md and SKILL.md formats)
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com