feat(skills): add eight skills from the coding-agent skills spec, and a hermes agent plugin #29
Firewall test leaves temp working directory
Medium Severity
<!-- DESCRIPTION START -->
The “confirm it blocks” steps create a temp directory and cd into it, then never restore the original working directory. Later steps still change project dependencies and rerun installs, so those commands can run against the empty temp project instead of the user’s repo.
<!-- DESCRIPTION END -->
<!-- BUGBOT_BUG_ID: c04b91da-083e-4fd9-adce-86f009b5b98d -->
<!-- LOCATIONS START
skills/socket-firewall/SKILL.md#L147-L153
LOCATIONS END -->
<div><a href="https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmY4YzBmZDBiLWRhZDktNGYzNS05OTkyLTBhNzEwZWYyZjJmZCIsImVuY3J5cHRpb25LZXkiOiJIWmhZYmRMcEp6OW5peGR3WDZhQ3lPQUZJRnFTUW5hcm9ySlpGbUhxYTZFIiwiYnJhbmNoIjoiZmVhdC9uZXctc2tpbGxzIiwicmVwb093bmVyIjoiU29ja2V0RGV2IiwicmVwb05hbWUiOiJzYXVjZSIsInByb3ZpZGVyIjoiZ2l0aHViIn19" target="_blank" rel="noopener noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/fix-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/fix-in-cursor-light.png"><img alt="Fix in Cursor" width="115" height="28" src="https://cursor.com/assets/images/fix-in-cursor-dark.png"></picture></a> <a href="https://cursor.com/agents?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9XRUIiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmY4YzBmZDBiLWRhZDktNGYzNS05OTkyLTBhNzEwZWYyZjJmZCIsImVuY3J5cHRpb25LZXkiOiJIWmhZYmRMcEp6OW5peGR3WDZhQ3lPQUZJRnFTUW5hcm9ySlpGbUhxYTZFIiwiYnJhbmNoIjoiZmVhdC9uZXctc2tpbGxzIiwicmVwb093bmVyIjoiU29ja2V0RGV2IiwicmVwb05hbWUiOiJzYXVjZSIsInByTnVtYmVyIjoyOSwiY29tbWl0U2hhIjoiZGY0MjRkOTViZTRkYjYyODRjZDVmN2U3MTEwYjExOTk0OGM4NDBiMCIsInByb3ZpZGVyIjoiZ2l0aHViIn19" target="_blank" rel="noopener noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/fix-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/fix-in-web-light.png"><img alt="Fix in Web" width="99" height="28" src="https://cursor.com/assets/images/fix-in-web-dark.png"></picture></a></div>
<sup>Reviewed by Cursor Bugbot for commit df424d95be4db6284cd5f7e7110b119948c840b0. Configure here.</sup>
<!-- BUGBOT_REVIEW -->
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
<!-- BUGBOT_FIX_ALL -->
<a href="https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aToyNDkzZjAzNS00NjIwLTRjMDktOGM4ZS0xZTVhYWM5OTYwNDkiLCJlbmNyeXB0aW9uS2V5IjoiSC1xeXB1ejJvMlF2LXlrXzVzczhLRFVybG53bFBhNWloMl9uMDNWUUZUZyIsImJyYW5jaCI6ImZlYXQvbmV3LXNraWxscyIsInJlcG9Pd25lciI6IlNvY2tldERldiIsInJlcG9OYW1lIjoic2F1Y2UiLCJwcm92aWRlciI6ImdpdGh1YiJ9fQ" target="_blank" rel="noopener noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/fix-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/fix-in-cursor-light.png"><img alt="Fix All in Cursor" width="115" height="28" src="https://cursor.com/assets/images/fix-in-cursor-dark.png"></picture></a>
<!-- /BUGBOT_FIX_ALL -->
<!-- BUGBOT_AUTOFIX_REVIEW_FOOTNOTE_BEGIN -->
<sup>Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.</sup>
<!-- BUGBOT_AUTOFIX_REVIEW_FOOTNOTE_END -->
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
_Comment @cursor review or bugbot run to trigger another review on this PR_
<sup>Reviewed by Cursor Bugbot for commit df424d95be4db6284cd5f7e7110b119948c840b0. Configure here.</sup>
Fixed in 528254ef: the block test now runs in a subshell, ( cd "$(mktemp -d)" && npm init -y && sfw npm install lodahs ), so the shell stays in the project for the steps that follow. No other skill changes directory.
ljharb
Adds the eight skills the "Socket Skills for Coding Agents" spec lists as gaps. Each one is a single
skills/<name>/SKILL.md, checked againstsocket@1.14.1source (the current npmlatest; GitHub's "latest release" still points at v1.1.146), Socket Firewall,socket-mcp, and docs.socket.dev.| Skill | What it does |
| --- | --- |
|
socket-firewall| Runs installs throughsfw, explains a block and what to do next, and covers Enterprise wrapper and registry modes, CI, and Docker. ||
socket-pr-alerts| Triages Socket for GitHub checks and comments, checks reachability, then fixes, replaces, or accepts an alert for one PR or for good. ||
socket-reachability| Runs full application reachability, reads.socket.facts.json, and fixes reachable vulnerabilities first. ||
socket-incident-response| Confirms a malware report in the threat feed, finds usage and dependency paths, checks for install-time execution, contains it, rotates secrets, and reports. ||
socket-policy| Editssocket.ymland changes org alert actions, dry-running where the API supports it and asking before any real write. ||
socket-sbom| Generates CycloneDX locally withcdxgenand exports CycloneDX or SPDX for an existing scan. ||
socket-vet-agent-tools| Vets an MCP server, skill, or plugin before install using existing Socket checks. ||
knowledge-update| Dated corrections for outdated model knowledge about Socket products, each with a source. |Hermes Agent plugin
Adds
hermes/, a portable Agent Plugins v1 package for Nous Research's Hermes Agent, modeled on the official Hermes snyk plugin. Install withhermes plugins install SocketDev/skills/hermesandhermes plugins enable socket; skills show up assocket:<skill>.scripts/repo/generate-hermes-plugin.mtswriteshermes/plugin.jsonand copies every skill byte for byte intohermes/skills/<name>/. Hermes loads skills only one level deep, so nested skills (socket-dep-*,socket-scan-setup, thesocket-releasesubskills) get their own top-level directories.generate:checkhashes the wholehermes/tree, so an added, edited, or removed file is reported as drift.mcp.jsonships: a portable remote MCP entry in Hermes accepts onlytype,url, andheaders, so it cannot turn on OAuth.socket-connect,hermes/README.md, and the root README tell Hermes users to runhermes mcp add socket --url https://mcp.socket.dev/ --auth oauth. Socket's OAuth server has no device-code grant for user sign-in, so the docs do not suggest a no-browser flow.hermes/README.mdcarries the disclosures the Hermes plugin catalog asks for: network calls, shell commands, project edits, credentials, and no telemetry.The Claude, Codex, Cursor, and Gemini plugins already read
skills/, so they get the eight skills directly.One shared core for every agent plugin
All agent plugins now come from
scripts/repo/plugins/, so adding an agent is one target module plus a line inregistry.mts:skills.mts), one frontmatter parser (lib/frontmatter.mts), oneArtifactWriterthat writes or reports drift (output.mts), and the Socket identity and MCP server (socket.mts).targets/{claude,codex,cursor,gemini,hermes}.mtseach declare their files, sources, instruction dirs, sign-in steps, and ageneratefunction. The old per-agent generators andsync-versions.mtsare gone.publish.mts's drift check, the shipped-surface lists, thesocket-connectsign-in section, and the contract tests all read the registry. A new target is tested automatically..claude-plugin/marketplace.jsonandgemini-extension.json. The hand-edited marketplace had drifted, for examplesocket-scanstill described dashboard scans as the default. Descriptions now come from each SKILL.md.metadata.category(README table group) andmetadata.requires(Claude marketplace dependencies). The README table now groups the new skills correctly instead of filing them all under Setup.verify-build.mdis removed.Also: Claude marketplace entries (all depend on
socket-connectexceptknowledge-update), the skill discovery test's expected list, the README's installable-names line, and the regeneratedagents/README.mdand Codex manifest.Points for review
socket-vet-agent-tools: the spec marks this as needing product confirmation. No Socket product scans an MCP server, skill, or plugin as a unit, so the skill combines existing checks (package scores and alerts, published-file reads, the skills.sh Socket audit, a--no-auto-manifest --tmpscan, install throughsfw) and says so.socket-policyuses an org API token fromSOCKET_CLI_API_TOKENfor the Policies REST API, because the CLI has no Policies command. The skill says this differs from the browser sign-in insocket-connect, dry-runs the endpoints that support it, never prints the token, and asks before the legacy security-policy write, which has no dry run..socket.facts.jsonhas no published schema.socket-reachabilityreads only the fields used in socket-cli's own tests and says the shape may change.Checks
pnpm test: 59 files, 1,740 tests pass. The baseline onmainis 1,264. The increase is the per-skill structural tests, the plugin-core unit and contract tests, and the frontmatter parser tests.pnpm run checkpasses: format, lint, type, paths, release-kit, shipped content, generate, and scan.<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->