freshie-inventory
БесплатноБез исполняемых скриптовНе проверенManage the freshie ecosystem inventory database \u2014 a CMDB tracking\ \ all plugins, skills, packs, and compliance grades across 51 SQLite tables. Use\ \…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
Freshie Inventory Manager
Interactive command center for the freshie ecosystem inventory database.
Current DB Status
!sqlite3 freshie/inventory.sqlite "SELECT 'Run #' || id || ' — ' || run_date || ' | Plugins: ' || total_plugins || ' | Skills: ' || total_skills || ' | Packs: ' || COALESCE(total_packs, 0) FROM discovery_runs ORDER BY id DESC LIMIT 3;" 2>/dev/null || echo "DB not found at freshie/inventory.sqlite"
!sqlite3 freshie/inventory.sqlite "SELECT grade || ': ' || COUNT(*) FROM skill_compliance GROUP BY grade ORDER BY grade;" 2>/dev/null
Overview
The freshie database is the single source of truth for ecosystem-wide metrics — plugin counts, skill compliance grades, pack coverage, anomaly detection, and historical trends across versioned discovery runs. This skill is an interactive wizard — it always asks what you want to do, then delegates heavy operations to specialized subagents.
Database location: freshie/inventory.sqlite (51 tables, versioned by run_id)
Key scripts:
freshie/scripts/rebuild-inventory.py— full repo scan, creates new discovery runfreshie/scripts/batch-remediate.py— auto-fix compliance issuesscripts/validate-skills-schema.py— enterprise validation with DB populationfreshie/scripts/run-delta.py [--run-id N] [--alert-on-regression]— (re)generate a run's delta report (schema-vs-data changes + grade regressions; exit 4 signal on regressions)freshie/scripts/dolt-sync.py [--alert-on-regression]— Dolt sync; emits the delta report post-commit and can exit 4 when grades regressed
Prerequisites
sqlite3CLI available on PATHpython3withpyyamlinstalled- Working directory is the repo root (
claude-code-plugins/) - Database exists at
freshie/inventory.sqlite /emailskill installed (for PDF report emailing)
Instructions
Step 1: Present Main Menu
When invoked, ALWAYS start by presenting this menu using AskUserQuestion:
FRESHIE INVENTORY COMMAND CENTER
================================================================
What would you like to do?
1. Dashboard — Current status, grades, staleness
2. Discovery Scan — Full repo scan, create new run
3. Compliance Check — Enterprise validation + DB population
4. Remediation — Batch fix compliance issues
5. Query — Ad-hoc SQLite queries
6. Compare Runs — Delta analysis between runs
7. Export Data — CSV exports to freshie/exports/
8. Anomaly Scan — Data quality + outlier detection
9. Pack Coverage — SaaS pack completeness metrics
10. Full Audit — Scan + validate + report (end-to-end)
11. Report Only — Generate summary from existing data
Use AskUserQuestion with these options. If the user's initial prompt already contains a clear intent (e.g., "freshie status"), skip the menu and route directly.
Step 2: Execute Chosen Workflow
Based on selection, follow the matching workflow below. Every workflow ends with Step 3 (Email Report).
Workflow A: Dashboard
Run these queries and present as a formatted dashboard:
sqlite3 freshie/inventory.sqlite "SELECT id, run_date, total_plugins, total_skills, COALESCE(total_packs,0) FROM discovery_runs ORDER BY id DESC LIMIT 1;"
sqlite3 freshie/inventory.sqlite "SELECT grade, COUNT(*) FROM skill_compliance WHERE run_id=(SELECT MAX(id) FROM discovery_runs) GROUP BY grade ORDER BY grade;"
sqlite3 freshie/inventory.sqlite "SELECT CAST(julianday('now') - julianday(run_date) AS INTEGER) FROM discovery_runs ORDER BY id DESC LIMIT 1;"
sqlite3 freshie/inventory.sqlite "SELECT 'plugins', COUNT(*) FROM plugins WHERE run_id=(SELECT MAX(id) FROM discovery_runs) UNION ALL SELECT 'skills', COUNT(*) FROM skills WHERE run_id=(SELECT MAX(id) FROM discovery_runs) UNION ALL SELECT 'packs', COUNT(*) FROM packs WHERE run_id=(SELECT MAX(id) FROM discovery_runs) UNION ALL SELECT 'anomalies', COUNT(*) FROM anomalies WHERE run_id=(SELECT MAX(id) FROM discovery_runs);"
# Core vs SaaS pack breakdown
sqlite3 freshie/inventory.sqlite "SELECT CASE WHEN path LIKE '%saas-packs%' THEN 'saas-pack-skills' ELSE 'core-skills' END as type, COUNT(*) FROM skills WHERE run_id=(SELECT MAX(id) FROM discovery_runs) GROUP BY type;"
Present as:
FRESHIE INVENTORY DASHBOARD
============================
Last Scan: Run #{id} — {date} ({days} days ago)
Plugins: {n}
Skills: {n} total
Core: {n} (hand-crafted plugin skills)
SaaS Packs: {n} (auto-generated pack skills)
Packs: {n}
Grade Distribution:
A: {n} B: {n} C: {n} D: {n} F: {n}
Staleness: {Fresh (<3d) | Stale (3-7d) | CRITICAL (>7d)}
If Critical (>7 days), recommend a discovery scan.
Workflow B: Discovery Scan
Delegate to the discovery-scanner subagent via the Agent tool:
Launch Agent: discovery-scanner
Prompt: "Run a full freshie discovery scan. Show current state first, execute
rebuild-inventory.py, then report the delta (plugin/skill count changes)
compa
Установить freshie-inventory в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBash(sqlite3:*)Bash(python3:*)Bash(node:*)Bash(mkdir:*)Bash(wc:*)GlobGrepAskUserQuestionSkillTaskВложенные файлы
FAQ
Что делает скилл freshie-inventory?
Manage the freshie ecosystem inventory database \u2014 a CMDB tracking\ \ all plugins, skills, packs, and compliance grades across 51 SQLite tables. Use\ \ when checking ecosystem health, running discovery scans, validating compliance,\ \ remediating issues, querying inventory data, comparing runs, exporting data,\ \ or generating status reports. Trigger with "freshie status", "inventory scan"\ , "ecosystem audit", "grade report", "compliance check", "remediate skills"\ , "query freshie", "compare runs", "export grades", or "freshie report"\ .
Как установить скилл freshie-inventory?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл freshie-inventory запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic