Skip to content
Agentmart
Submit a tool

skills-smart-manager

Meta-skill for skill lifecycle management.

Skill by valorisa

IndexedMIT★ 17
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/valorisa-skills-smart-manager

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Meta-skill for skill lifecycle management. Monitors active skills, optimizes context window by unloading stale skills, detects dependency conflicts, recommends skills based on project type, performs health checks on MCP servers and APIs, and archives session memory for efficient future loading. Use when user says "optimize skills", "clean up context", "manage skills", "free tokens", "skill health check", "session feels slow", or when context >60% and multiple skills loaded. Also auto-triggers on project type switches (e.g., "done with Figma, let's code Rust").

Use cases: design, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/skills-smart-manager

What's inside

Skill name
skills-smart-manager
Description
Meta-skill for skill lifecycle management. Monitors active skills, optimizes context window by unloading stale skills, detects dependency conflicts, recommends skills based on project type, performs health checks on MCP servers and APIs, and archives session memory for efficient future loading. Use when user says "optimize skills", "clean up context", "manage skills", "free tokens", "skill health check", "session feels slow", or when context >60% and multiple skills loaded. Also auto-triggers on project type switches (e.g., "done with Figma, let's code Rust").
License
MIT
Metadata
author: valorisa · version: 1.0.0 · category: meta-management
Instructions
518 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • body: 518 lines (spec recommends under 500)
  • files: referenced but missing: references/project-type-skills.json
  • body: contains an absolute path from the author's machine

Files (5)

  • README.md
  • SKILL.md
  • report-template.md · assets/
  • conflict-rules.md · references/
  • analyze_context.py · scripts/

SKILL.md (first lines)

# Skills Smart Manager

## Overview

**Core principle:** Skills should be loaded only when actively needed. Stale or irrelevant skills waste precious context tokens, slow down response times, and can create conflicts.

This meta-skill acts as an orchestrator for your entire skill ecosystem. It monitors, analyzes, and optimizes the lifecycle of all active skills throughout your Claude Code sessions.

**Key capabilities:**

1. **Context Bloat Prevention** — Detects and unloads skills not invoked in >15 turns
2. **Dependency Management** — Ensures prerequisite skills are active
3. **Smart Recommendations** — Suggests skills based on project files (Cargo.toml → rust skills)
4. **Health Checks** — Verifies MCP servers and API endpoints are responding
5. **Garbage Collection** — Cleans up temporary files generated by other skills
6. **Conflict Detection** — Identifies contradictory skills (e.g., formatters with conflicting rules)
7. **Session Memory** — Archives optimal skill configuration per repository

---

## When to Use This Skill

### Automatic Triggers

- Context window >60% and ≥3 skills loaded
- User switches project domains ("done with design, let's code")
- Session feels slow or unresponsive
- Rate limit warnings appear

### Manual Invocation

```bash
/skills-smart-manager
```

Or mention:

- "optimize my skills"
- "clean up loaded skills"
- "why is this session slow?"
- "manage my context"
- "skill health check"

---

## Instructions

### Step 1: Analyze Current Session State

Run the context analyzer to get a complete picture:

```bash
python3 scripts/analyze_context.py --action scan
```

**Expected output:**

```json
{
  "active_skills": ["tdd-hybrid", "token-optimization", "rescue-tokens", "diagnose"],
  "last_invoked": {
    "tdd-hybrid": 2,
    "token-optimization": 0,
    "rescue-tokens": 18,
    "diagnose": 45
  },
  "estimated_token_footprint": {
    "tdd-hybrid": 3200,
    "token-optimization": 2800,
    "rescue-tokens": 1900,
    "diagnose": 2400
  },
  "total_skill_tokens": 10300,
  "context_percentage": 68,
  "project_type_detected": "rust-cargo"
}
```

### Step 2: Evaluate Skill Relevance

Apply **garbage collection criteria**:

#### Criterion 1: Staleness

Skill not invoked for >15 user/assistant interaction turns.

**Rationale:** If a skill hasn't been needed recently, it's probably not relevant to current work.

#### Criterion 2: Domain Mismatch

Project files changed in a way that makes the skill irrelevant.

**Examples:**

- `figma-handoff` skill active, but no `.fig` files in working directory
- `rust-best-practices` skill active, but `Cargo.toml` was deleted
- `docker-compose` skill active, but `docker-compose.yml` removed

#### Criterion 3: Conflicts

Skill contradicts a higher-priority active skill.

**Common conflicts** (see `references/conflict-rules.md`):

- Multiple formatter skills (Prettier vs Standard vs custom rules)
- Multiple linter skills with incompatible rule sets
- Multiple testing framework skills (Jest vs Vitest)

### Step 3: Recommend Actions

Based on analysis, prepare a recommendation report for the user:

```markdown
### Skills Smart Manager Report

**Context Status:** 68% full (10,300 tokens from skills alone)

**Recommendations:**

From valorisa/Claude-Skills, MIT.

More from valorisa/Claude-Skills

Signals

Stars
17
Forks
4
Open issues
0
Last commit (this folder)
May 28, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from valorisa

Cite this page

skills-smart-manager. Agent Mart. https://agentmart.dev/skills/valorisa-skills-smart-manager (last updated 2026-10-24)