Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "keygraph-shannon",
"description": "Keygraph's Shannon autonomous AI pentester, packaged as a plugin for Claude Code.",
"owner": {
"name": "Keygraph",
"email": "shannon@keygraph.io"
},
"plugins": [
{
"name": "shannon",
"source": "./plugins/shannon",
"description": "Run Shannon white-box pentests of web apps and APIs you are authorized to test, from your coding agent, with safety rules built in."
}
]
}
17 changes: 17 additions & 0 deletions .cursor-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "keygraph-shannon",
"owner": {
"name": "Keygraph",
"email": "shannon@keygraph.io"
},
"metadata": {
"description": "Keygraph's Shannon autonomous AI pentester, packaged as a plugin for Grok and Cursor."
},
"plugins": [
{
"name": "shannon",
"source": "plugins/shannon",
"description": "Run Shannon white-box pentests of web apps and APIs you are authorized to test, from your coding agent, with safety rules built in."
}
]
}
23 changes: 23 additions & 0 deletions plugins/shannon/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "shannon",
"displayName": "Shannon",
"version": "1.0.0",
"description": "Run Shannon, Keygraph's autonomous AI pentester, from your coding agent. Starts, monitors, and stops white-box pentests of web apps and APIs you are authorized to test, with safety rules built in.",
"author": {
"name": "Keygraph",
"email": "shannon@keygraph.io"
},
"homepage": "https://github.com/KeygraphHQ/shannon/tree/main/plugins/shannon",
"repository": "https://github.com/KeygraphHQ/shannon",
"license": "AGPL-3.0",
"keywords": [
"security",
"pentest",
"penetration-testing",
"vulnerability-assessment",
"appsec",
"owasp",
"grok",
"keygraph"
]
}
32 changes: 32 additions & 0 deletions plugins/shannon/.cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "shannon",
"displayName": "Shannon",
"version": "1.0.0",
"description": "Run Shannon, Keygraph's autonomous AI pentester, from your coding agent. Starts, monitors, and stops white-box pentests of web apps and APIs you are authorized to test, with safety rules built in.",
"author": {
"name": "Keygraph",
"email": "shannon@keygraph.io"
},
"homepage": "https://github.com/KeygraphHQ/shannon/tree/main/plugins/shannon",
"repository": "https://github.com/KeygraphHQ/shannon",
"license": "AGPL-3.0",
"logo": "assets/logo.png",
"category": "security",
"keywords": [
"security",
"pentest",
"penetration-testing",
"vulnerability-assessment",
"appsec",
"owasp",
"grok",
"keygraph"
],
"tags": [
"security",
"pentest",
"appsec",
"grok"
],
"skills": "./skills/"
}
111 changes: 111 additions & 0 deletions plugins/shannon/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Shannon skill plugin

A skill-only plugin for running Shannon from Claude Code, Grok Build, or Cursor.
The skill points the agent to the bundled overview and full documentation. The
agent uses those docs to run the Shannon CLI through its shell tool.

## Requirements

- A client that permits shell execution. Otherwise, the agent can provide commands
for the user to run in a terminal.
- Node.js **22 or newer**, with npm/npx available. Avoid Node 22.7.0 because it
breaks Temporal status reads.
- Docker installed and running.
- Provider credentials configured through `npx @keygraph/shannon@latest setup`
in the user's terminal, or available in the shell that runs Shannon.

Installing the skill does not install these prerequisites or configure credentials.
Commands use the published `@keygraph/shannon@latest` CLI; no plugin build or
package installation is needed.

## Install

### Claude Code

```sh
claude plugin marketplace add KeygraphHQ/shannon
claude plugin install shannon@keygraph-shannon
```

For a local checkout:

```sh
claude plugin validate ./plugins/shannon
claude --plugin-dir ./plugins/shannon
```

### Grok Build

Grok reads the Claude-compatible plugin manifest and skill components. Install
the plugin directly from its folder in the repository:

```sh
grok plugin install 'KeygraphHQ/shannon#plugins/shannon' --trust
```

Use this direct install instead of `grok plugin marketplace add KeygraphHQ/shannon`.
Grok clones a marketplace source with a 15-second limit, and this repository
does not clone in that time, so the marketplace is left unscanned and
`grok plugin install shannon` cannot find the plugin.

Confirm the plugin is enabled and trusted in `/plugins` and the skill appears in
`/skills`. A local checkout can be validated with
`grok plugin validate ./plugins/shannon`.

### Cursor

For local development, copy `plugins/shannon/` into
`~/.cursor/plugins/local/shannon/`, reload Cursor, and confirm the skill appears
in Customize. Cursor uses `.cursor-plugin/plugin.json`.

The remote marketplace commands apply once this plugin is on the repository's
default branch. Before merge, use local plugin or marketplace loading.

## Layout

```text
plugins/shannon/
.claude-plugin/plugin.json Claude-compatible plugin metadata
.cursor-plugin/plugin.json Cursor plugin metadata
skills/shannon/SKILL.md entry point to the bundled documentation
llms-full.txt bundled detailed documentation
llms.txt documentation index
assets/logo.png marketplace logo
```

The repository root contains the Claude-compatible and Cursor marketplace indexes.
The skill and documentation are shared across clients.

## Validation and maintenance

```sh
claude plugin validate ./plugins/shannon
claude plugin validate ./.claude-plugin/marketplace.json
```

Before release, manually verify the manifests, skill name, logo, marketplace
entries, and bundled documentation. Confirm that each advertised client discovers
the skill and can run the CLI through its shell. Manifest validation alone does not establish
client compatibility or successful scan execution.

`llms.txt` and `llms-full.txt` are byte-identical copies of the root originals.
When the originals change, copy both files from the repository root into
`plugins/shannon/`. Keep both plugin manifest versions aligned when releasing updates.

Runtime verification can use temporary synthetic fixtures outside the repository;
no plugin test suite is included.

## Safety

Only test systems the user owns or is authorized to assess, and never production.
Consult the bundled safety documentation before starting a scan. Documentation
is not independent authorization enforcement. Findings require
human review, and an empty report does not prove an application is secure.

The full safety guide is included in `llms-full.txt` from `docs/safety.md`.

## References

- [Claude plugin authoring](https://code.claude.com/docs/en/plugins/create)
- [Grok plugins and marketplaces](https://github.com/xai-org/grok-build/blob/main/crates/codegen/xai-grok-pager/docs/user-guide/09-plugins.md)
- [Cursor plugin reference](https://cursor.com/docs/reference/plugins)
Binary file added plugins/shannon/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading