Agent skill · AI & Agents

sqlite-agent-context

Detect agent capabilities and manage context intelligently

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 13 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/agent/codetalcott-fixiplug-claude-skills-sqlite-agent-context/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Purpose
  2. When to Use
  3. Available Hooks
  4. sqlite.context.detect
  5. sqlite.context.capabilities
  6. sqlite.context.tokenbudget
  7. sqlite.context.formatresponse
  8. Best Practices
  9. 1. Always Detect Before Optimizing
  10. 2. Monitor Token Budget
  11. 3. Format Appropriately
  12. 4. Cache Detection Results
  13. Common Use Cases
  14. Use Case 1: Agent-Specific Features
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going