Skip to content
Agentmart
Submit a tool

dn-configure

Set up credentials for the dn CLI tool.

Skill by AutomatticOfficial

IndexedGPL-2.0★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/automattic-dn-configure

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Set up credentials for the dn CLI tool. Use when the user needs to authenticate, switch between partner and user mode, set up API keys, or connect their WordPress.com account via OAuth. Also use when the user mentions "dn configure" or needs to reconfigure their dn CLI setup.

Use cases: backend, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/dn-configure

What's inside

Skill name
dn-configure
Description
Set up credentials for the dn CLI tool. Use when the user needs to authenticate, switch between partner and user mode, set up API keys, or connect their WordPress.com account via OAuth. Also use when the user mentions "dn configure" or needs to reconfigure their dn CLI setup.
License
GPL-2.0
Instructions
43 lines in SKILL.md · view on GitHub

Before installing

  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Files (1)

  • SKILL.md

SKILL.md (first lines)

# dn configure

Set up authentication credentials for the dn CLI.

## Modes

- **User mode** (default): WordPress.com OAuth. Opens browser for authentication.
- **Partner mode**: Direct API access via API key + API user credentials.

## Usage

```bash
# Interactive setup (shows splash screen, mode selection)
dn configure

# Specify mode directly
dn configure --mode=user
dn configure --mode=partner

# Pipe credentials (CI/automation)
echo -e "token" | dn configure --mode=user --stdin
echo -e "api-key\napi-user" | dn configure --mode=partner --stdin

# Custom API URL (partner mode only)
dn configure --mode=partner --api-url=https://custom.api.example.com
```

## Options

| Option | Description |
|--------|-------------|
| `--mode` | `partner` or `user` (interactive if omitted) |
| `--stdin` | Read credentials from stdin instead of prompts |
| `--api-url` | Custom API base URL (partner mode only) |

## Notes

- Credentials stored in `~/.config/dn/config.json` with `0600` permissions
- User mode triggers browser-based OAuth flow (client ID 134319, port 19851)
- Partner mode prompts for API key and user with hidden input
- Can override with env vars: `DN_API_KEY`, `DN_API_USER`, `DN_MODE`, `DN_OAUTH_TOKEN`

From Automattic/dn-cli, GPL-2.0.

More from Automattic/dn-cli

Signals

Stars
5
Forks
1
Open issues
0
Last commit (this folder)
Mar 11, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
GPL-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Automattic

Cite this page

dn-configure skill. Agent Mart. https://agentmart.dev/skills/automattic-dn-configure (last updated 2026-10-24)