---
name: Anchorify + Continue
---

# Anchorify + Continue

[Continue](https://continue.dev) is an open-source coding agent for
VS Code and JetBrains. It supports custom slash-commands defined in
`~/.continue/config.json`. A short shell-command slash-command
publishes the current chat to Anchorify in one keystroke.

## Add the slash-command

Edit `~/.continue/config.json` and append to `slashCommands`:

```json
{
  "name": "publish",
  "description": "Publish the current chat to Anchorify",
  "step": "ShellCommandStep",
  "params": {
    "command": "echo {{{ chat_history }}} | anchorify - --type markdown"
  }
}
```

Then in any chat panel: `/publish`. Continue feeds the chat history
to `anchorify` over stdin, you get a URL back as the
slash-command's output.

## Visibility

Default is `public`. Add `--unlisted` or `--members` to the command
string above to change the per-publish default. To override
per-call, prefix the slash:

```text
/publish --unlisted
```

(Continue passes any trailing arguments to the shell command.)

## Install

```bash
npm i -g anchorify-cli
anchorify login
```

Then create an API token at
<https://anchorify.io/dashboard> and paste it into the
`login` prompt.
