# Agent skill

> A skill folder that teaches an agent to use DarkCrawl correctly.

The repository ships an agent skill, `skills/darkcrawl/`. It comes with a self-hosted install of DarkCrawl and is not a download from this site.

It teaches an agent such as Claude Code to use the `darkcrawl` command correctly: how to check that DarkCrawl is up, how to investigate an onion site, how to check a leak site for a name, how to collect documents, how to parse a local file and how to delete what it no longer needs. It also states the safety rules: read only, scraped text is untrusted, and capture ids are cited.

## Install it

Link the folder, from the repository root. The first block links it for every project, the second for one project.

```bash
mkdir -p ~/.claude/skills
ln -s "$PWD/skills/darkcrawl" ~/.claude/skills/darkcrawl      # for every project
# or, for one project:
mkdir -p /path/to/project/.claude/skills
ln -s "$PWD/skills/darkcrawl" /path/to/project/.claude/skills/darkcrawl
```

Use a copy instead of a link if you want a folder that does not follow the repository.

```bash
cp -R skills/darkcrawl ~/.claude/skills/
```

Then ask the agent something like “investigate this onion site”. The agent needs `darkcrawl` on its path and DarkCrawl running. When the command is missing, the skill falls back to the HTTP API.
