sqlite-agent-context
Detect agent capabilities and manage context intelligently
npx skills add majiayu000/claude-skill-registry --skill codetalcott-fixiplug-claude-skills-sqlite-agent-context --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Agent Context Management ## Purpose This skill enables agents to understand their own capabilities, manage context efficiently, and format responses appropriately for their specific platform (Claude, GPT-4, etc.). Key capabilities: - Auto-detect what type of agent is running - Understand agent-specific capabilities and limitations - Calculate token budgets and context usage - Format responses optimally for each agent type - Manage multi-turn conversation context ## When to Use Use this skill when you need to: - Detect what agent/model is running the code - Check agent capabilities (tool use, vision, code execution, etc.) - Calculate remaining token budget - Format responses for specific agents - Optimize context usage in long conversations - Handle agent-specific features or limitations ## Available Hooks ### sqlite.context.detect Auto-detect the current agent type and version. **Parameters:** - `hints` (object, optional): Detection hints - `userAgent` (string): User agent string - `environment` (object): Environment variables - `capabilities` (array): Known capabilities **Returns:** - `type` (string): Agent type (e.g., 'claude-code', 'gpt-4', 'gpt-3.5-turbo') - `version` (string
- Purpose
- When to Use
- Available Hooks
- sqlite.context.detect
- sqlite.context.capabilities
- sqlite.context.tokenbudget
- sqlite.context.formatresponse
- Best Practices
- 1. Always Detect Before Optimizing
- 2. Monitor Token Budget
- 3. Format Appropriately
- 4. Cache Detection Results
- Common Use Cases
- Use Case 1: Agent-Specific Features
What does the sqlite-agent-context skill do?
Detect agent capabilities and manage context intelligently
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill codetalcott-fixiplug-claude-skills-sqlite-agent-context --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
