junie-cli-docs

Provides complete documentation for using and configuring Junie CLI in the terminal.

Updated Sep 5, 2025
One-click install
npx skills add https://github.com/MrS-E/config --skill junie-cli-docs-mrs-e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: junie-cli-docs
Source: https://github.com/MrS-E/config/tree/main/junie/versions/1588.20/skills/junie-cli-docs
Command: npx skills add https://github.com/MrS-E/config --skill junie-cli-docs-mrs-e

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Answers questions about how the Junie CLI agent works, including installation, authentication, slash commands, configuration files, MCP servers, agent skills, subagents, and session management, without requiring the user to search external documentation. ## Core Features & Use Cases - CLI Usage Guidance: Covers prompting, slash commands, keyboard shortcuts, plan mode, brave mode, and session management in the interactive terminal. - Configuration Reference: Documents config.json fields, action allowlists, custom LLM models, custom proxies, MCP server setup, and custom slash commands. - Extensibility Docs: Explains agent skills, custom subagents, guidelines via AGENTS.md, and JetBrains IDE integration. - Use Case: When a user asks how to add an MCP server to Junie CLI or where session logs are stored, this skill supplies the exact documented steps and file locations. ## Quick Start Ask how to configure or use a specific Junie CLI feature, such as setting up an MCP server or enabling brave mode.

Frequently Asked Questions about junie-cli-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install and authenticate Junie CLI?

Install Junie CLI on Linux or macOS with the curl install script, on Windows with the PowerShell script, or via Homebrew. Then run junie in your project and authenticate with a JetBrains Account, a JUNIE_API_KEY token, or BYOK provider keys.

How do I add an MCP server to Junie CLI?

Use the /mcp command to open the MCP Installation Assistant, which adds servers from a registry or from scratch. Alternatively, edit the mcp.json file at .junie/mcp/mcp.json (project scope) or ~/.junie/mcp/mcp.json (user scope) directly.

Where are Junie CLI configuration files located?

Junie CLI reads config.json from ~/.junie/config.json at user scope and <project-root>/.junie/config.json at project scope. Command-line flags take highest priority, followed by user settings, project config, then user config.

Can Junie CLI run in CI/CD pipelines?

Yes, Junie CLI supports a headless non-interactive mode for CI/CD. Pass the prompt as an argument with authentication via junie --auth="$JUNIE_API_KEY" followed by your task, and use flags or environment variables for options.

What is brave mode in Junie CLI?

Brave mode lets Junie CLI execute potentially sensitive actions, such as terminal commands and MCP tool calls, without asking for user approval. Toggle it with the Ctrl+B shortcut, or manage allowed commands granularly via ~/.junie/allowlist.json.

Why is Junie CLI not connecting to my JetBrains IDE?

Run /ide to inspect the integration state. Common causes include a missing Junie plugin, an outdated IDE version, mismatched project paths, or expired authorization; check ~/.junie/logs/junie.log for connection errors.