/garden
Manage and analyze digital gardens for evolving knowledge bases.
$ npx -y skills add athola/claude-night-market --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/garden
Context preview
What this command does when you run it.
Manage and analyze digital gardens for evolving knowledge bases.
Command definition
garden.mdDigital Garden Command
Usage
Manage and analyze digital gardens for evolving knowledge bases.
Calculate Metrics
/garden metrics <path-to-garden.json> [--format json|brief|prometheus]
Calculates health metrics for a digital garden.
Check Health
/garden health <path-to-garden.json>
Provides a health assessment with maintenance recommendations.
Seed Content
/garden seed <garden-path> "<title>" --section <section> --links <related>
Adds new content to the garden with initial links.
Tend Garden
/garden tend <garden-path> --action <prune|expand|archive>
Performs maintenance actions on garden content.
What It Does
1. **Tracks Metrics**: Calculates link density, freshness, maturity 2. **Assesses Health**: Identifies areas needing maintenance 3. **Seeds Content**: Adds new notes with proper linking 4. **Manages Lifecycle**: Promotes, archives, and prunes content 5. **Exports Data**: Outputs metrics in multiple formats
Metrics Tracked
| Metric | Description | Target | |--------|-------------|--------| | `plots` | Total content items | - | | `link_density` | Average links per plot | > 2.0 | | `avg_days_since_tend` | Average staleness | < 7 days |
Output Formats
- **json**: Full metrics as structured JSON
- **brief**: One-line summary for quick checks
- **prometheus**: Exposition format for monitoring systems
Examples
# Calculate metrics
/garden metrics ~/my-garden.json --format brief
# Output: plots=42 link_density=3.2 avg_days_since_tend=4.5
# Check health
/garden health ~/my-garden.json
# Add new content
/garden seed ~/my-garden.json "OAuth Overview" --section auth --links "Authentication,Security"
# Prune stale content
/garden tend ~/my-garden.json --action prune
Integration
Uses the garden_metrics.py tool:
python scripts/garden_metrics.py <path> [--format <format>]
Read more
Digital Garden Command
Usage
Manage and analyze digital gardens for evolving knowledge bases.
Calculate Metrics
/garden metrics <path-to-garden.json> [--format json|brief|prometheus]
Calculates health metrics for a digital garden.
Check Health
/garden health <path-to-garden.json>
Provides a health assessment with maintenance recommendations.
Seed Content
/garden seed <garden-path> "<title>" --section <section> --links <related>
Adds new content to the garden with initial links.
Tend Garden
/garden tend <garden-path> --action <prune|expand|archive>
Performs maintenance actions on garden content.
What It Does
1. **Tracks Metrics**: Calculates link density, freshness, maturity 2. **Assesses Health**: Identifies areas needing maintenance 3. **Seeds Content**: Adds new notes with proper linking 4. **Manages Lifecycle**: Promotes, archives, and prunes content 5. **Exports Data**: Outputs metrics in multiple formats
Metrics Tracked
| Metric | Description | Target | |--------|-------------|--------| | `plots` | Total content items | - | | `link_density` | Average links per plot | > 2.0 | | `avg_days_since_tend` | Average staleness | < 7 days |
Output Formats
- **json**: Full metrics as structured JSON
- **brief**: One-line summary for quick checks
- **prometheus**: Exposition format for monitoring systems
Examples
# Calculate metrics /garden metrics ~/my-garden.json --format brief # Output: plots=42 link_density=3.2 avg_days_since_tend=4.5 # Check health /garden health ~/my-garden.json # Add new content /garden seed ~/my-garden.json "OAuth Overview" --section auth --links "Authentication,Security" # Prune stale content /garden tend ~/my-garden.json --action prune
Integration
Uses the garden_metrics.py tool:
python scripts/garden_metrics.py <path> [--format <format>]
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Other commands on claude-night-market.
- /aggregate-logs
Generate LEARNINGS.md from skill execution logs.
Open command - /analyze-skill
Analyze skill file complexity metrics and generate modularization recommendations for splitting or progressive loading.
Open command - /bulletproof-skill
Harden skills against rationalization and bypass behaviors
Open command - /context-report
Generate context optimization report for skill directories
Open command - /create-command
Create slash commands with brainstorming and best practices
Open command - /create-hook
Create hooks with brainstorming and security-first design
Open command

