Complete toolkit for configuring and extending OpenCode: agent creation, custom slash commands, configuration management, plugin development, and SDK usage.
75
94%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Create an OpenCode agent called "sql-expert" that specializes in SQL query writing and optimization. The agent should:
psql and explain analyze commands; block all other bash commandsdescription field that includes specific user-facing trigger phrases (e.g., "write a query", "optimize SQL", "explain schema")'*': 'ask' for unknown commands — not '*': 'allow'psql, explain analyze) while blocking everything else.opencode/agent/sql-expert.mddescription field includes specific phrases like 'write a query', 'optimize SQL', 'explain schema', etc.'*': 'ask' (not '*': 'allow') for bash commands.opencode/agent/sql-expert.md'*': 'allow', granting unrestricted shell access.opencode/agent/