Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sniff-dev/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@sniff-dev/cli
Command-line tools for Sniff agent framework.
Installation
npm install -g @sniff-dev/cliOr use with npx:
npx @sniff-dev/cli initCommands
sniff init [name]
Create a new sniff.yml configuration file.
sniff init # Creates sniff.yml with default agent
sniff init my-agent # Creates sniff.yml with custom agent name
sniff init --force # Overwrite existing configAlso creates .env.example with required environment variables.
sniff validate
Validate the configuration file.
sniff validate # Validate sniff.yml
sniff validate -c custom.yml # Validate custom config filesniff --help
Show help and available commands.
sniff --help
sniff init --help
sniff validate --helpExample Workflow
# 1. Create configuration
sniff init triage-bot
# 2. Edit sniff.yml with your system prompt
# 3. Validate configuration
sniff validate
# 4. Set environment variables
export LINEAR_ACCESS_TOKEN=lin_api_xxx
export ANTHROPIC_API_KEY=sk-ant-xxx
# 5. Start server (using @sniff-dev/core)
npx @sniff-dev/coreConfiguration
The CLI creates a sniff.yml file:
version: '1.0'
agents:
- id: 'triage-bot'
name: 'Triage Bot'
system_prompt: |
You are a triage specialist.
Classify issues and set priorities.
model:
anthropic:
name: 'claude-sonnet-4-20250514'
temperature: 0.7
max_tokens: 4096See CONFIG.md for full specification.
License
MIT