# Gen Context

> Use when starting a new session, the project has changed significantly, or you need a fresh context summary.

- **Type:** Skill
- **Install:** `agentstack add skill-huzaifa525-claude-code-optimizer-gen-context`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [huzaifa525](https://agentstack.voostack.com/s/huzaifa525)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [huzaifa525](https://github.com/huzaifa525)
- **Source:** https://github.com/huzaifa525/claude-code-optimizer/tree/master/templates/.claude/skills/gen-context
- **Website:** https://www.npmjs.com/package/claude-code-optimizer

## Install

```sh
agentstack add skill-huzaifa525-claude-code-optimizer-gen-context
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

Generate a comprehensive but concise project context by analyzing the codebase.

## Steps

1. **Read package.json / pyproject.toml / Cargo.toml** → identify stack, dependencies, scripts
2. **Scan top-level structure** → `Glob("*")` then `Glob("src/*")` or equivalent
3. **Find entry points** → main files, index files, app setup files
4. **Identify framework** → Express, Next.js, FastAPI, Django, etc.
5. **Check for existing CLAUDE.md** → read current instructions
6. **Read recent git history** → `git log --oneline -10`
7. **Identify key patterns** → how routes/components/models are structured

## Return Format

```
## Project: [name]
## Stack: [framework, language, database, etc.]

### Commands
- Build: [command]
- Test: [command]
- Dev: [command]

### Entry Points
- [file] → [what it wires together]

### Structure
- [dir/] → [purpose]

### Recent Activity
- [last 5 commits summarized]

### Suggested CLAUDE.md Updates
- [anything missing from current CLAUDE.md]
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [huzaifa525](https://github.com/huzaifa525)
- **Source:** [huzaifa525/claude-code-optimizer](https://github.com/huzaifa525/claude-code-optimizer)
- **License:** MIT
- **Homepage:** https://www.npmjs.com/package/claude-code-optimizer

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-huzaifa525-claude-code-optimizer-gen-context
- Seller: https://agentstack.voostack.com/s/huzaifa525
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
