Imported from Webvelopers/OpenCode-Cybersecurity-Skills (
AGENTS.md). Install upstream withnpx skills add Webvelopers/OpenCode-Cybersecurity-Skills. Copyright stays with the author.
Agent Instructions
This repository contains project-scoped OpenCode cybersecurity skills, validation tooling, and documentation for authorized defensive security assessment workflows.
Operating Scope
- Keep all work defensive, authorized, and documentation-focused unless explicitly asked to implement repository changes.
- Do not add exploit payloads, credential theft guidance, persistence steps, evasion steps, destructive operations, fraud execution guidance, or unauthorized scanning instructions.
- Preserve the read-only intent of the
cybersecurityagent unless the user explicitly asks for configuration changes.
Repository Standards
- Keep Markdown content ASCII-only unless there is a clear project need for non-ASCII text.
- Keep skill names stable because users may reference them directly.
- Each
SKILL.mdmust live in a directory whose basename matches itsnamefrontmatter field. - Each skill must include
references/standards.md. - Update
scripts/skill-catalog.jsonand regenerate catalog blocks withnode scripts/generate-skill-catalog.js --writewhen adding, removing, or renaming skills. - Update
CHANGELOG.mdfor notable changes. - Update
docs/versioning.mdwhen changing versioning policy or release process.
Validation
Run these checks after changing OpenCode config, agents, commands, skills, scripts, schemas, or documentation:
node --test test/validate.test.js
node scripts/generate-skill-catalog.js --check
node scripts/quality-gates.js --all
node scripts/skill-health.js --check
node scripts/validate-opencode.js
The validation scripts check OpenCode configuration, agent permissions, skill metadata, generated catalog freshness, CI quality gates, skill health, required documentation, Markdown links, ASCII content, schema files, and version consistency.
Versioning
- The root
VERSIONfile is the project release version source of truth. README.md,.opencode/skills/cybersecurity/README.md,docs/framework-crosswalk.md,docs/versioning.md, andCHANGELOG.mdmust stay synchronized with the root version.- New
SKILL.mdfiles must start with the current rootVERSIONvalue. - Existing tracked skill metadata versions are validated against Git HEAD and may only move to the immediate next patch when the skill file changes.
File Hygiene
- Do not commit dependency directories such as
.opencode/node_modules. - Do not commit generated Graphify output under
graphify-out. - Keep
TODO.mdtracked because CI validation requires it.