Skip to content
mimi1vxPublic

About

My skills for open code ( and other coding agents)

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

83 Commits

Folders and files

Repository files navigation

ocskillz

Custom skills, agents, and commands for opencode (and other coding agents).

Overview

This repository contains personalized extensions that enhance coding agent capabilities:

  • Skills — Specialized workflows for common tasks
  • Agents — Reusable agent definitions with specific tool access
  • Commands — Quick actions triggered with arguments
  • Scripts — Maintenance helpers (e.g. skill validation)
  • Plugin — opencode V2 plugin that registers all of the above without claiming ~/.config/opencode/

Requires OpenCode V2. V1 is no longer supported — see Installation.

Inventory

Skills (skills/)

Skill Trigger Description
git-commit "commit", "git commit", "create a commit" Storytelling-focused Conventional Commits with human-in-the-loop "why" gathering.
changelog-generator "create changelog", "release notes" Turns commit history into user-friendly changelog entries.
karpathy-guidelines Writing/reviewing/refactoring code Guardrails to reduce common LLM coding mistakes: surgical changes, simplicity first, verifiable success.
debug-loop Bug hunting, especially flaky/intermittent Reproduce → isolate → hypothesize → failing test → fix → verify.
pr-review Opening or reviewing a PR Pre-PR checklist + structured review framework. Pairs with code-reviewer agent.
change-walkthrough "walk me through", "explain this PR" Paced, conversational diff explanation grouped by behavioral effect, one topic at a time.
spec-to-plan "create a spec", "plan this feature" 5-phase workflow: spec → clarify → markdown spec → todo → plan.
sota-python Python code, tooling, frameworks, or audits Production Python guidance with strong new-project defaults for uv, Ruff, and ty.
sota-haskell Haskell code, Cabal, GHC, concurrency, FFI, or audits Type-driven Haskell engineering with GHCup, Cabal, Fourmolu, HLint, profiling, testing, and packaging.
sota-perl Perl code, CPAN tooling, frameworks, or audits Perl semantics, dependencies, APIs, async/processes, security, performance, testing, and releases.
sota-rust Rust code, Cargo, Tokio, unsafe, or audits Ownership, errors, async, unsafe discipline, security, performance, and CI.
sota-typescript TypeScript or JavaScript code, tooling, or audits Bun/Node toolchain, strict typing, idioms, async and cancellation, supply chain, performance, and runner mechanics.
sota-ml-engineering Classical ML and MLOps systems Training, serving, evaluation, drift, reproducibility, and governance.
sota-llm-engineering LLM, RAG, prompt, eval, or agent work Eval-first LLM application quality, retrieval, orchestration, and operations.
sota-testing Test strategy or suite audits Language-agnostic test design, doubles, integration, property testing, and suite health.
sota-code-security Secure coding or security audits Trust boundaries, injection, auth, crypto, web, data exposure, and LLM security.
sota-sandboxing Untrusted code, parsers, or agent isolation Isolation boundaries, OS/container hardening, privilege separation, and agent containment.
sota-privacy-compliance Privacy, PII, GDPR, or compliance Data lifecycle, consent, user rights, evidence, and breach readiness.
sota-observability Logging, metrics, tracing, SLOs, or incidents Generic telemetry and operational-readiness practices.
sota-data-engineering Batch, streaming, warehouse, or lakehouse work Pipelines, CDC, contracts, storage, quality, and governance.
sota-async-concurrency Async, threads, races, deadlocks, or backpressure Cross-language concurrency design, correctness, bug catalog, and audit severity.
sota-architecture Architecture, boundaries, DDD, events, or resilience System architecture styles, boundaries, distributed systems, and resilience design.
sota-golang Go code, modules, goroutines, or audits Errors, package design, concurrency, net/http hardening, security, performance, and CI.
sota-swift Swift code on any target, or audits Swift 6 idioms, API design, strict concurrency, memory safety, server-side, security, and tooling.
sota-shell-scripting bash/PowerShell scripts, CI scripts, or trusting ad-hoc command output Defensive shell, quoting and error handling, security, cleanup, and verifying what a command's output really proves.
sota-api-design REST, gRPC, GraphQL, webhooks, or API reviews Resource modeling, errors, pagination, versioning, compatibility, and API security contracts.
sota-skill-security Installing, authoring, or auditing agent skills, plugins, or MCP servers Provenance, trust boundaries, capability scoping, and skill authoring/auditing.
apple-container Apple container CLI on macOS, arm64 pinning Command reference plus forcing linux/arm64, catching silent amd64 fallback, and verifying image architecture.
binscout-re "reverse engineer", binary analysis, disassembly, xrefs, binary diff Static RE workflow over the binscout MCP/CLI: orient, anchor on strings/imports/bytes, read functions cheapest-first, record renames and comments, plus known binscout gaps.
deep-performance-audit "performance audit", "optimize codebase" Measure-first audit: baseline, profile, rank opportunities, and prove each optimization keeps outputs identical.
deep-project-primer "project primer", "initialize project" Read AGENTS.md and README in full, map purpose, entry points, flow, and gates, and report a short primer.
idea-wizard "generate ideas", "improve project" Brainstorm 30 ideas, filter and rank them, plan the best, and implement only the ones the user approves.
readme-reviser "update readme", "revise docs", "sync docs", "stale docs" Add, correct, and remove documentation to match the current code, written in timeless voice.
ste-english "STE", "simplified technical english", "rewrite in STE" Write or audit text in ASD-STE100 style: short sentences, simple verbs, a short substitution table.
codebase-design Designing a module interface, placing a seam, deepening shallow modules Deep-module vocabulary (module, interface, depth, seam, adapter), the deletion test, dependency categories, and design-it-twice with parallel subagents.
writing-for-agents Creating or editing skills, commands, AGENTS.md, or docs agents read Context pointers, context versus cognitive load, information hierarchy, completion criteria, leading words, pruning.

Agents (agents/)

Agent Tool access Purpose
code-reviewer primary; read-only + git diff/log + question Reviews recent changes; outputs Critical / Warnings / Suggestions.
refactor subagent; read + edit + question Cautious behavior-preserving refactors. Embeds karpathy-guidelines.
planner primary; read-only project access + question + extended read-only shell + full br Planning agent with strong clarifying-question discipline. Reads and writes plans under ~/.opencode/plan/ and, in projects that already use beads, tracks approved plans as beads issues via br.

opencode also ships built-in build and plan agents — referenced by some commands below.

Commands (commands/)

Command Agent Purpose
test build (built-in) Run pytest with coverage; prefers uv run pytest, falls back to python3 -m pytest.
clean-init build (built-in) Analyze codebase and write/update AGENTS.md.
bug-hunter build (built-in) Randomly explore code to find and fix bugs.
code-reorganizer planner Propose a reorganization plan for scattered code files.
walkthrough plan (built-in) Walk through a PR/diff one behavioral topic at a time using change-walkthrough.
ste current agent Write or rewrite text in ASD-STE100 style using ste-english.
handoff current agent Write a handoff document of the conversation to the OS temp directory for a fresh agent.
retro current agent Review a session and suggest improvements to the agent's environment (suggests only, no edits).
wait-what current agent Re-pitch the last message with the missing context, in STE and the project's vocabulary.

Launch refactor through the subagent tool rather than selecting it as the session's primary agent.

Scripts (scripts/)

Script Purpose
validate-skills.sh Lint skills, agents, and commands, then verify they reach opencode's V2 registries. Exits non-zero on failure.

Plugin (plugin/)

File Purpose
ocskillz.js opencode V2 plugin that registers this repo's skills and commands through V2 transforms, and registers the three agents below. Used by the plugin install below.

Validation

Run the validator any time you add or modify a skill, agent, or command:

./scripts/validate-skills.sh

Output:

ok   [changelog-generator]
...
ok   [agent: planner]
ok   [command: test]

registration: 36 skills, 3 agents, 9 commands

Checked: 48  Errors: 0

Three phases run:

  1. Skills — skills/*/SKILL.md has name and description, and name matches the directory.
  2. Agents and commands — frontmatter has a description, the body is non-empty, no legacy V1 fields remain (name, permission, disable, prompt, tools, maxSteps, temperature, top_p, variant), permissions (if present) is a native ordered sequence of current V2 {action, resource, effect} rules, every agent has its intended explicit mode, and commands target only primary-capable agents.
  3. Registration — loads the plugin into a throwaway project and asserts it's active and every skill, agent, and command reaches opencode's V2 registries with the expected agent modes via opencode api get /api/plugin|/api/skill|/api/agent|/api/command.

Phase 3 is skipped with a notice — not a failure — when opencode or python3 is not on PATH, when dependencies are not installed, or when the local opencode instance can't report live plugin state. Install dependencies with npm install to enable it.

Installation

Requires OpenCode V2. Add ocskillz to the plugins array in your opencode.json (global or project):

{
  "$schema": "https://opencode.ai/config.json",
  "plugins": ["ocskillz@git+https://github.com/mimi1vx/ocskillz"]
}

Restart opencode. The plugin registers all skills, commands, and the three bundled agents from wherever opencode cached the package — leaving ~/.config/opencode/ free for your own configuration. Each agent gets its description, system prompt, mode, and permissions.

code-reviewer and planner are selectable primary agents. refactor is subagent-only; ask a primary agent to launch it with the subagent tool.

Anything you define yourself wins: a skill or command with the same ID is left alone. An agent with the same ID that you define in config or in an agents directory keeps every field you changed; only fields still at opencode's defaults are filled from the bundled agent. Declaring code-reviewer, planner, or refactor in config is therefore optional and harmless. V2 does not let a plugin distinguish an explicit value that equals the default from an omitted value.

See OpenCode V2 compatibility for plugin limitations, migration details, and verification steps. V1 is not supported by this package.

License

Original local skills, including sota-haskell and sota-perl, are MIT-licensed where declared in their frontmatter. The externally adapted sota-* skills are CC BY 4.0. See SOTA-ATTRIBUTION.md for source, modification, pinning, and refresh details.

debug-loop, pr-review, spec-to-plan, writing-for-agents, codebase-design, and the handoff, retro, and wait-what commands adapt text from mattpocock/skills (MIT, © 2026 Matt Pocock). See MATTPOCOCK-ATTRIBUTION.md for the pinned commit, the MIT notice, and the humanlayer/skills credit.

change-walkthrough is an original MIT-licensed skill, inspired by the concept of rekram1-node/skills, not derived from its text.

ste-english is original MIT text that paraphrases the ASD-STE100 rules. It does not include the ASD dictionary. ASD-STE100 is a trademark of ASD.

About

My skills for open code ( and other coding agents)

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages