🚀 1-Minute TL;DR
🚀 1-Minute TL;DR
For senior devs who want to get started immediately:
- Install:
npm install -g @qckfx/agent
- Initialize:
qckfx init
(gets you our production agent configs) - Set API key:
export LLM_API_KEY="your-key"
andexport LLM_BASE_URL="your-provider-url"
- Hello World:
qckfx "Hello, world!"
- Real task:
qckfx "What does this repository do?"
- Advanced Configuration - Custom agent configs
- GitHub Actions Integration - CI/CD automation
- Sub-agents - Specialized capabilities
- Troubleshooting - Common issues
qckfx -c
to continue conversations, qckfx -m model-name
to switch models mid-conversation, and qckfx
(no arguments) for interactive mode with multi-line input and smart paste handling.System Requirements
Operating Systems
- macOS 10.15 (Catalina) or newer
- Ubuntu 20.04 / Debian 11 or newer
- Windows 10/11 with WSL or Git-Bash
Software Requirements
- Node.js 18+ (required)
- git 2.23+ (optional - for repo features)
- 4 GB RAM minimum
Windows Users: The CLI requires a Unix-like environment. Use WSL (recommended) or Git-Bash for the best experience.
Quick Installation
1. Install the CLI globally
Do NOT use
sudo npm install -g
as this can lead to permission issues and security risks.2. Initialize your project with default agents
Get started quickly with the same agents we use to develop qckfx:.qckfx
directory with essential agent configurations:
advanced-agent.json
- General-purpose coding agent with browser sub-agent, uses OpenAI o3 for orchestration and Claude Code for implementationagent-editor.json
- Specialized for editing system prompts in agent configuration filescommit.json
- Helps write good commit messagessub-agents/browser.json
- Codebase research capabilities using GPT-4.1-nano for cost-efficient local file analysissub-agents/coder.json
- Advanced coding assistance
The
init
command gives you the exact same agent configurations that the qckfx development team uses daily. It’s the fastest way to get productive with qckfx.3. Set up your LLM provider
qckfx works with any OpenAI-compatible API. Set your environment variables:Add these to your shell profile (
.bashrc
, .zshrc
, etc.) to persist them across sessions.4. Run your first command
Your First Real Task
Let’s try something more practical. Navigate to any code repository and run:Continuing Conversations
qckfx automatically saves your conversation history. Use the-c
flag to continue where you left off:
Sessions are saved per working directory, so you can have different ongoing conversations for different projects.
Interactive Mode
When you runqckfx
without providing a prompt, the CLI enters interactive mode - a powerful feature that makes it easy to work with complex, multi-line inputs and pasted content.
Entering Interactive Mode
Simply run the command without any arguments:Multi-line Input
Create multi-line prompts by ending lines with a backslash (\
):
Smart Paste Handling
Interactive mode intelligently handles pasted content, similar to Claude Code. When you paste large blocks of text, qckfx automatically:- Detects the paste and replaces it with a compact placeholder like
[paste #1 +25 lines]
- Keeps your buffer clean so you can see your actual prompt structure
- Substitutes the content at runtime when you submit your request
Example Interactive Session
Submitting Your Request
Press Enter to submit your interactive prompt (or Ctrl+D as an alternative). qckfx will process your request with all pasted content properly included.If your current line ends with a backslash (
\
), pressing Enter will continue to the next line instead of submitting. Only lines that don’t end with \
will submit when you press Enter.When to Use Interactive Mode
Interactive mode is particularly useful for:- Complex prompts that span multiple lines
- Including code snippets or error messages via paste
- Structured requests with multiple requirements
- Exploratory conversations where you want to compose thoughtfully
Interactive mode is perfect for detailed code reviews, debugging sessions, and complex refactoring requests where you need to include multiple code snippets or detailed context.
Beyond Basics: Advanced Patterns
Using Different Models for Different Tasks
Mix models strategically - use powerful models for planning and cheaper ones for implementation:Adding Specialized Capabilities with Sub-agents
Sub-agents give your main agent specialized tools and capabilities:Configuration Preview
For complex workflows, create agent configuration files:Common CLI Patterns
Quick Model Selection
Interactive vs Non-Interactive Modes
Git Integration
Safety and Security
Local Execution Warning: The CLI can make real changes to your codebase when run locally. Always:
- Work in a git repository with committed changes
- Review changes before accepting them
- Consider using sandboxed environments for untrusted code
Recommended Safety Practices
- Use version control: Always work in a git repository
- Commit frequently: Save your work before running qckfx
- Review changes: Check what qckfx modified before committing
- Sandbox for automation: Use Docker or remote environments for CI/CD
Next Steps
Troubleshooting
Solutions for common CLI installation and usage issues
Advanced Configuration
Create custom agent configurations with specialized tools and prompts
GitHub Actions
Set up qckfx to run automatically in your CI/CD pipeline
Sub-agent Quickstart
Add specialized capabilities like web research, security auditing, and database design
Mixed Model Workflows
Use different models strategically within conversations for cost optimization
Agent Self-Improvement
Let agents analyze and improve their own system prompts automatically
Troubleshooting Quick Fixes
Command not found: qckfx
Command not found: qckfx
Make sure you installed globally and that your npm global bin directory is in your PATH:
Permission denied errors
Permission denied errors
Don’t use sudo with npm. Instead, configure npm to use a different directory:
API key or connection errors
API key or connection errors
Verify your environment variables are set correctly:
What’s Next?
Now that you have the CLI working, you can:- Automate your workflow: Use qckfx in scripts and CI/CD pipelines
- Customize behavior: Create agent configuration files for specific tasks
- Integrate with tools: Combine qckfx with your existing development tools
- Scale up: Consider the SDK if you need programmatic control for applications