Skip to content
Back to skills

Auto Context Manager

ASecurity

AI-powered automatic project context management. Detects which

  • 21 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
toolspythonbashapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill auto-context-manager --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Auto Context Manager?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Auto Context Manager
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-auto-context-manager/badge)](https://www.skillsdirectory.com/skills/modbender-auto-context-manager)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Auto Context Manager
description: AI-powered automatic project context management. Detects which
  project the user is referring to and maintains context awareness.
---

# Auto Context Manager

AI-powered automatic project context management. Detects which project the user is referring to and maintains context awareness.

## Activation

**Auto-detect on:** Use at session start or when context is unclear.
**Manual call:** When user asks about projects or context switching.

## Quick Commands

Run from the skill directory:

```bash
# Detect project from message
python acm.py detect "your message here"

# List all projects
python acm.py list

# Get current active project
python acm.py current

# Switch to different project
python acm.py switch <project_id>
```

## Usage in Sessions

**When user message contains project keywords:**
1. Run `python acm.py detect "<message>"` to identify context
2. Use context to prioritize relevant skills/memory
3. Respond with project-aware knowledge

**Example:**
```
User: "Check my portfolio"
-> Detect: financial/trading project
-> Use relevant financial skills
-> Check trading-related memory files
```

## Configuration

Projects are stored in `~/.auto-context/projects.json` and can be customized:

```json
{
  "projects": {
    "my-project": {
      "name": "My Project",
      "description": "Project description",
      "keywords": ["keyword1", "keyword2", "keyword3"]
    }
  },
  "current_project": "default"
}
```

## Files

- `auto_context_manager.py` - Core module
- `acm.py` - CLI wrapper
- `~/.auto-context/projects.json` - Project config (auto-created)

## Adding Projects

```python
from auto_context_manager import AutoContextManager
acm = AutoContextManager()
acm.create_project('project_id', 'Project Name', ['keyword1', 'keyword2'], 'Description')
```

## Integration Notes

- Fully local, no external APIs
- Data stored in `~/.auto-context/`
- Confidence score indicates match strength
- Always returns a result (defaults to "default" project)

Files in this skill

  • README.md2.5 KB
  • SKILL.md2 KB
  • acm.py963 B
  • auto_context_manager.py5.4 KB
  • requirements.txt17 B
  • test_acm.py4.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.