소스 정보
- 저장소
- majiayu000/claude-skill-registry
- 최근 소스 활동
- 2026년 6월 23일 12:15
- 감지된 SKILL.md 언어
- 영어
- 스타
- 543
- 포크
- 85
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/majiayu000/claude-skill-registry --skill sqlite-agent-context명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
LLM token logprobs and calibration. Per-decision confidence, ECE, Brier, reliability diagrams, low-confidence triage.
Analyze LLM token logprobs and calibration. Use for per-decision confidence, ECE, Brier scores, reliability diagrams, and low-confidence triage.
回顾最近 N 天的 Claude Code 使用记录——扫描原始会话数据,按主题分组汇总"我都做了什么",并从个人操作系统视角输出模式、风险与增删建议。当用户说 /recap、"看看我这几天做了什么"、"回顾一下我最近的会话"、"这两天我用 claude 干了啥"、"活动回顾" 时使用。
SOC 직업 분류 기준
SKILL.md 표시 중
| name | sqlite-agent-context |
| description | Detect agent capabilities and manage context intelligently |
| tags | ["agent","context","detection","capabilities","optimization"] |
| version | 1.0.0 |
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:
Use this skill when you need to:
Auto-detect the current agent type and version.
Parameters:
hints (object, optional): Detection hints
userAgent (string): User agent stringenvironment (object): Environment variablescapabilities (array): Known capabilitiesReturns:
type (string): Agent type (e.g., 'claude-code', 'gpt-4', 'gpt-3.5-turbo')version (string): Agent versioncapabilities (array): Detected capabilitiesconfidence (number): Detection confidence (0-1)Example:
const agent = await fixiplug.dispatch('sqlite.context.detect');
console.log(agent.type); // 'claude-code'
console.log(agent.version); // '3.5-sonnet-20241022'
console.log(agent.capabilities);
// [
// 'tool-use',
// 'vision',
// 'code-execution',
// 'file-editing',
// 'artifacts',
// 'extended-thinking'
// ]
console.log(agent.confidence); // 0.98
// Agent-specific logic
if (agent.type.startsWith('claude')) {
console.log('Using Claude-specific formatting');
} else if (agent.type.startsWith('gpt')) {
console.log('Using GPT-specific formatting');
}
Get detailed capabilities for a specific agent type.
Parameters:
agentType (string, required): Agent type (e.g., 'claude-3-5-sonnet', 'gpt-4')includeDetails (boolean, optional): Include detailed capability info (default: false)Returns:
agentType (string): Agent typemaxTokens (number): Maximum context tokensmaxOutputTokens (number): Maximum output tokenstoolUseSupport (boolean): Supports tool/function callingvisionSupport (boolean): Supports image inputsstreamingSupport (boolean): Supports streaming responsescapabilities (array): List of capabilitieslimitations (array): Known limitationsrecommendedPractices (array): Best practices for this agentExample:
const caps = await fixiplug.dispatch('sqlite.context.capabilities', {
agentType: 'claude-3-5-sonnet',
includeDetails: true
});
console.log(`Max tokens: ${caps.maxTokens}`); // 200000
console.log(`Tool use: ${caps.toolUseSupport}`); // true
console.log(`Vision: ${caps.visionSupport}`); // true
console.log('Capabilities:', caps.capabilities);
// [
// { name: 'tool-use', description: 'Can use tools/functions', enabled: true },
// { name: 'vision', description: 'Can analyze images', enabled: true },
// { name: 'extended-thinking', description: 'Has extended thinking mode', enabled: true },
// ...
// ]
console.log('Limitations:', caps.limitations);
// [
// 'Cannot execute code directly in some environments',
// 'Image input size limited to 5MB',
// 'Max 5 images per request'
// ]
console.log('Best practices:', caps.recommendedPractices);
Calculate remaining token budget for current conversation.
Parameters:
agentType (string, optional): Agent type (auto-detected if omitted)conversation (array, required): Conversation history
{ role: 'user' | 'assistant', content: string }systemPrompt (string, optional): System promptincludeBreakdown (boolean, optional): Include detailed breakdown (default: false)Returns:
totalTokens (number): Total tokens used so farmaxTokens (number): Maximum tokens allowedremainingTokens (number): Tokens remainingpercentageUsed (number): Percentage of budget usedrecommendation (string): Recommendation for next stepsbreakdown (object, optional): Detailed token breakdownExample:
const budget = await fixiplug.dispatch('sqlite.context.token_budget', {
agentType: 'claude-3-5-sonnet',
conversation: [
{ role: 'user', content: 'What is 2+2?' },
{ role: 'assistant', content: '2+2 equals 4.' },
{ role: 'user', content: 'Explain why.' },
{ role: 'assistant', content: 'Addition is combining quantities...' }
],
systemPrompt: 'You are a helpful math tutor.',
includeBreakdown: true
});
console.log(`Used: ${budget.totalTokens} / ${budget.maxTokens}`);
// Used: 1250 / 200000
console.log(`Remaining: ${budget.remainingTokens} tokens`);
// Remaining: 198750 tokens
console.log(`Budget used: ${budget.percentageUsed}%`);
// Budget used: 0.6%
console.log('Recommendation:', budget.recommendation);
// 'Plenty of context remaining, no optimization needed'
console.(, budget.);
(budget. > ) {
.();
} (budget. > ) {
.();
} {
.();
}
Format a response optimally for the current agent.
Parameters:
content (any, required): Content to formatresponseType (string, required): Type of response ('text', 'code', 'data', 'error')agentType (string, optional): Target agent type (auto-detected if omitted)options (object, optional): Formatting optionsReturns:
formatted (string): Formatted contentmetadata (object): Format metadataExample:
// Format code response
const formatted = await fixiplug.dispatch('sqlite.context.format_response', {
content: {
language: 'python',
code: 'def hello():\n print("Hello, world!")'
},
responseType: 'code',
options: {
includeComments: true,
syntaxHighlight: true
}
});
console.log(formatted.formatted);
// For Claude: Uses markdown code blocks with syntax highlighting
// For GPT: Uses appropriate formatting for GPT UI
// Format data response
const dataFormatted = await fixiplug.dispatch('sqlite.context.format_response', {
content: {
results: [
{ name: 'Alice', score: 95 },
{ name: 'Bob', score: 87 }
]
},
responseType: 'data',
options: {
format: 'table' // or 'json', 'list'
}
});
console.log(dataFormatted.formatted);
// Formatted as markdown table for Claude, or appropriate format for other agents
// Good: Detect first
const agent = await fixiplug.dispatch('sqlite.context.detect');
if (agent.capabilities.includes('vision')) {
// Use vision features
}
// Bad: Assume capabilities
// Just try to use vision without checking
// In long conversations
async function checkBudget(conversation) {
const budget = await fixiplug.dispatch('sqlite.context.token_budget', {
conversation
});
if (budget.percentageUsed > 80) {
// Summarize or truncate history
return summarizeConversation(conversation);
}
return conversation;
}
// Detect agent and format accordingly
const agent = await fixiplug.dispatch('sqlite.context.detect');
const response = await fixiplug.dispatch('sqlite.context.format_response', {
content: data,
responseType: 'data',
agentType: agent.type
});
return response.formatted;
// Cache detection result (doesn't change during session)
let cachedAgent = null;
async function getAgent() {
if (!cachedAgent) {
cachedAgent = await fixiplug.dispatch('sqlite.context.detect');
}
return cachedAgent;
}
const agent = await fixiplug.dispatch('sqlite.context.detect');
if (agent.type.startsWith('claude-code')) {
// Use file editing features
console.log('Can use file editing tools');
} else if (agent.type.startsWith('gpt-4')) {
// Use GPT-4 specific features
console.log('Can use advanced reasoning');
}
async function manageConversation(conversation) {
const budget = await fixiplug.dispatch('sqlite.context.token_budget', {
conversation,
includeBreakdown: true
});
console.log(`Context usage: ${budget.percentageUsed.toFixed(1)}%`);
if (budget.percentageUsed > 75) {
console.log('Approaching context limit, summarizing...');
// Summarize older messages
const summary = createSummary(conversation.slice(0, -10));
return [
{ role: 'system', content: `Previous context: ${summary}` },
...conversation.slice(-10)
];
}
return conversation;
}
const caps = await fixiplug.dispatch('sqlite.context.capabilities', {
agentType: 'claude-3-5-sonnet'
});
// Check if vision is supported
if (caps.visionSupport) {
console.log('Can process images');
// Include image analysis features
}
// Check tool use
if (caps.toolUseSupport) {
console.log('Can use tools');
// Enable tool-based workflows
}
console.log(`Max context: ${caps.maxTokens} tokens`);
// Data to return
const results = {
users: [
{ id: 1, name: 'Alice', score: 95 },
{ id: 2, name: 'Bob', score: 87 }
]
};
// Format for current agent
const formatted = await fixiplug.dispatch('sqlite.context.format_response', {
content: results,
responseType: 'data',
options: { format: 'table' }
});
console.log(formatted.formatted);
// Automatically formatted as markdown table, JSON, or other format
// depending on what works best for the current agent
claude-code: Claude Code CLI agentclaude-3-5-sonnet: Claude 3.5 Sonnetclaude-3-opus: Claude 3 Opusclaude-3-haiku: Claude 3 HaikuCommon Capabilities:
gpt-4: GPT-4 base modelgpt-4-turbo: GPT-4 Turbogpt-3.5-turbo: GPT-3.5 TurboCommon Capabilities:
Possible errors:
DetectionError: Could not detect agent typeUnsupportedAgentError: Agent type not recognizedValidationError: Invalid parametersExample:
try {
const agent = await fixiplug.dispatch('sqlite.context.detect');
} catch (error) {
if (error.name === 'DetectionError') {
console.warn('Could not detect agent, using defaults');
// Fall back to generic agent handling
} else {
console.error('Unexpected error:', error.message);
}
}
When multiple agents are working together:
const agents = await Promise.all([
fixiplug.dispatch('sqlite.context.detect', { hints: { id: 'agent-1' } }),
fixiplug.dispatch('sqlite.context.detect', { hints: { id: 'agent-2' } })
]);
// Coordinate based on capabilities
const primaryAgent = agents.find(a => a.capabilities.includes('code-execution'));
const supportAgent = agents.find(a => !a.capabilities.includes('code-execution'));
const agent = await fixiplug.dispatch('sqlite.context.detect');
// Adjust workflow based on capabilities
if (agent.capabilities.includes('vision')) {
workflow.addStep('image-analysis');
}
if (agent.capabilities.includes('tool-use')) {
workflow.addStep('tool-execution');
}
const budget = await fixiplug.dispatch('sqlite.context.token_budget', {
conversation
});
// Adjust caching strategy based on budget
if (budget.percentageUsed < 20) {
cacheStrategy = 'aggressive'; // Cache more
} else if (budget.percentageUsed < 60) {
cacheStrategy = 'balanced';
} else {
cacheStrategy = 'minimal'; // Cache less, free up context
}
SQLITE_FRAMEWORK_PATHsqlite-pattern-learner: Learn from database patternssqlite-extension-generator: Generate optimized codesqlite-agent-amplification: Dynamic tool creation1.0.0 - Initial release