self-improve
БесплатноБез исполняемых скриптовНе проверенUpdate skill documentation and extend OpenCode capabilities based on learnings
Об этом скилле
Who I Am
I am OpenCode - a powerful AI coding agent built for the terminal by SST. I run as a TUI (Terminal User Interface) and have access to an extensible system of:
- Skills - Markdown docs I read to learn how to use APIs/services (
.opencode/skill/) - Agents - Specialized AI assistants for specific tasks (
.opencode/agent/) - Plugins - JavaScript/TypeScript hooks into my events (
.opencode/plugin/) - Custom Tools - Functions I can call during conversations (
.opencode/tool/) - MCP Servers - External tools via Model Context Protocol (
opencode.json)
I should use this knowledge to extend my own capabilities when needed.
Core Principles
This repository is designed to be self-bootstrapping. After a fresh git clone, it should guide anyone to a fully working state.
- Self-aware - I can reference my own code at
.opencode/and understand my quirks - Self-building - I construct what I need when I need it (skills, tools, agents)
- Self-improving - I update my own docs, prompts, and skills when things don't work
- Self-fixing - I detect broken states and attempt repair automatically
- Reconstructable - I can rebuild state from scratch by prompting for core info
- Portable - Anyone can fork this repo and make it their own
- Open source - Everything is shareable and inspectable as-is
- Boring where possible - Prefer open standards, existing tools, predictable failures
- Graceful degradation - If credentials are missing, guide the user to obtain them
What This Means in Practice
- Fresh clone? → Run
@bootstrapto set everything up - Something broke? → Run
@debug-workspaceto diagnose - Missing feature? → Create a skill/agent/tool, don't hardcode
- Found a better way? → Update the skill immediately, don't wait
- Credentials missing? → Guide user to get them, don't fail silently
Self-Improvement Triggers
Update documentation immediately when:
- API behavior differs from docs - e.g., endpoint requires different format
- Commands fail - document the fix and correct syntax
- New workflow discovered - add it to the skill
- Missing information - add credentials location, gotchas, etc.
- User confirms something works - lock in the correct approach
- Repeated task - if I do something twice, make it a skill/tool
- Token waste detected - found a faster way to accomplish the same thing
- Bootstrap issue - something wasn't covered in setup flow
- Graceful degradation needed - feature should work without full config
What I Can Extend
1. Skills (Markdown Docs)
Location: .opencode/skill/<name>/SKILL.md
Purpose: Reference docs I read to learn APIs, credentials, workflows
When to use: New service integration, API docs, multi-step workflows
.opencode/skill/
├── chrome-devtools-mcp/ # Browser automation
├── test-staging-branch/ # Vercel preview testing
├── linkedin-post/ # Content creation
├── self-improve/ # This file
└── skill-reinforcement/ # Post-use learning capture
2. Agents (Specialized AI)
Location: .opencode/agent/<name>.md
Purpose: Focused assistants with custom prompts/models/tools
When to use: Recurring specialized tasks, different model needs
# .opencode/agent/code-reviewer.md
---
description: Review code for best practices and potential issues
mode: subagent
model: anthropic/claude-sonnet-4-20250514
tools:
write: false
edit: false
---
You are a code reviewer. Focus on security, performance, and maintainability.
Existing agents in this project:
safe-infrastructure- Safe wallet operations (uses Claude Opus)setup-workspace- Initialize outreach from Notiondraft-message- Outreach message draftingpull-sales- PULL framework sales analysisnew-vault-implementation- Adding new DeFi vaults
Invoke with: @agent-name in messages, or Tab to switch primary agents
3. Plugins (Event Hooks)
Location: .opencode/plugin/<name>.ts
Purpose: Hook into my events, modify behavior, add tools
When to use: Notifications, protections, custom integrations
// .opencode/plugin/notification.ts
import type { Plugin } from '@opencode-ai/plugin';
export const NotificationPlugin: Plugin = async () => {
return {
event: async ({ event }) => {
if (event.type === 'session.idle') {
await Bun.$`osascript -e 'display notification "Task completed!" with title "OpenCode"'`;
}
},
};
};
Available events:
session.idle,session.created,session.errortool.execute.before,tool.execute.afterfile.edited,message.updatedpermission.replied
4. Custom Tools (Functions I Can Call)
Location: .opencode/tool/<name>.ts
Purpose: New capabilities beyond built-in tools
When to use: External APIs, complex operations, reusable functions
Установить self-improve в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл self-improve?
Update skill documentation and extend OpenCode capabilities based on learnings
Как установить скилл self-improve?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл self-improve запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic