CLI Reference
Complete reference for the Conduct CLI commands.
conduct init
Initialize a conduct/ folder structure and configure AI agents.
Usage
conduct initInteractive Prompts
AI Agent Selection: Choose which AI coding tools to configure
- Cursor
- Claude Code
- Factory
- OpenCode
- GitHub Copilot
- Warp
Issue Tracker Integration: Select issue trackers to integrate
- GitHub Issues
- Jira
- Linear
- GitLab Issues
- Azure DevOps
Base Path Configuration: Set URLs for each selected tracker
- Example:
https://github.com/myorg/myrepo/issues/
- Example:
What It Creates
Core Files
conduct/spec.v0.md- Root specification fileconduct/AGENTS.md- AI agent guidance documentconduct/features/- Feature specifications directoryconduct/changes/- Root-level changes directoryconduct/track.json- Version and issue tracker configuration
Agent-Specific Files
Cursor
.cursor/commands/feature.md.cursor/commands/change.md
Claude Code
.claude/commands/conduct/feature.md.claude/commands/conduct/change.mdCLAUDE.md(root-level instructions)
Warp
.warp/commands/conduct/feature.md.warp/commands/conduct/change.mdWARP.md(root-level instructions)
Factory
.factory/commands/feature.md.factory/commands/change.md
OpenCode
.opencode/command/feature.md.opencode/command/change.md
GitHub Copilot
.github/prompts/conduct-feature.prompt.md.github/prompts/conduct-change.prompt.md
Example
$ conduct init
✔ Select AI agents to configure: Cursor, Claude, Warp
✔ Select issue trackers to integrate: GitHub
✔ Enter GitHub base path: https://github.com/myorg/myrepo/issues/
✅ Created conduct/ directory structure
✅ Configured 3 AI agents
✅ Integrated 1 issue trackerconduct list
List all features and changes in the hierarchy.
Usage
conduct listOutput
Displays a tree view of:
- Feature hierarchy with version numbers
- Nested features and sub-features
- Changes under each feature
- Root-level changes
Example
$ conduct list
conduct/
├── spec.v0.md
├── features/
│ ├── authentication/
│ │ ├── spec.v2.md (current: v2)
│ │ ├── features/
│ │ │ └── oauth/
│ │ │ └── spec.v0.md
│ │ └── changes/
│ │ ├── add-2fa.spec.md
│ │ └── fix-session-timeout.spec.md
│ ├── dashboard/
│ │ ├── spec.v1.md (current: v1)
│ │ └── changes/
│ │ └── improve-performance.spec.md
│ └── api/
│ └── spec.v0.md
└── changes/
├── update-dependencies.spec.md
└── improve-ci-cd.spec.mdconduct upgrade
Upgrade Conduct instructions to the latest version in all configured AI agents.
Usage
conduct upgradeWhat It Updates
conduct/AGENTS.md- Core agent instructions- All agent command files (
feature.md,change.md) - Root-level instruction blocks in
CLAUDE.mdandWARP.md
When to Use
Run this command when:
- You upgrade the Conduct CLI to a new version
- New features are added to Conduct’s agent instructions
- You want to ensure all agents have the latest guidance
Example
$ conduct upgrade
✅ Updated conduct/AGENTS.md
✅ Updated .cursor/commands/feature.md
✅ Updated .cursor/commands/change.md
✅ Updated .claude/commands/conduct/feature.md
✅ Updated .claude/commands/conduct/change.md
✅ Updated CLAUDE.md
✅ Updated .warp/commands/conduct/feature.md
✅ Updated .warp/commands/conduct/change.md
✅ Updated WARP.md
✨ All agent instructions upgraded to latest versionAI Agent Commands
These commands are available within your configured AI agents (e.g., Cursor, Claude, Warp).
/feature
Create a new feature specification.
Usage in AI agent:
/feature <feature-name>What it does:
- Creates a new feature directory in
conduct/features/ - Generates
spec.v0.mdwith proper structure - Creates nested
features/andchanges/subdirectories - Links to issue tracker (if configured)
Example:
/feature User authentication systemCreates: conduct/features/user-authentication-system/spec.v0.md
/change
Create a change specification for an existing feature.
Usage in AI agent:
/change <change-description>What it does:
- Prompts for parent feature (if multiple exist)
- Creates change spec in feature’s
changes/directory - Automatically versions parent feature spec (v0 → v1, v1 → v2, etc.)
- Updates
track.jsonwith new version - Links to issue tracker ticket (if configured)
Example:
/change Add two-factor authenticationCreates: conduct/features/user-authentication-system/changes/add-2fa.spec.md
Updates: conduct/features/user-authentication-system/spec.v1.md
Configuration Files
track.json
Stores version and issue tracker configuration:
{
"version": "1.0.0",
"trackers": {
"github": "https://github.com/myorg/myrepo/issues/",
"jira": "https://mycompany.atlassian.net/browse/"
},
"features": {
"authentication": {
"version": 2,
"path": "features/authentication"
}
}
}AGENTS.md
Contains instructions for AI agents on how to:
- Create feature specifications
- Generate change specifications
- Follow naming conventions
- Structure nested hierarchies
- Link to issue trackers
This file is automatically generated and maintained by Conduct.
Tips & Best Practices
Feature Naming
- Use kebab-case:
user-authentication,payment-gateway - Be descriptive but concise
- Group related features in nested hierarchies
Change Descriptions
- Start with action verbs: “Add”, “Fix”, “Update”, “Remove”
- Be specific about what changed
- Reference issue tracker tickets
Version Management
- Conduct automatically manages versions
- Each change increments the parent feature version
- Old versions are preserved for audit trail
- Don’t manually edit version numbers
Nested Features
Create nested feature hierarchies for complex systems:
authentication/
├── spec.v0.md
└── features/
├── oauth/
│ └── spec.v0.md
├── two-factor/
│ └── spec.v0.md
└── session-management/
└── spec.v0.mdUse the /feature command within a feature’s context to create nested features.