Claude Code Skills Alternative for DeepSeek/Qwen/Ollama
Quick Start β’ Usage β’ Commands β’ Documentation
CLIS (Command Line Intelligence System) brings Claude Code's intelligent tool calling capabilities to open-source LLMs:
- β 96% cost savings - < $0.003/query (DeepSeek) vs $20/month (Claude Code)
- β 31 tools - Filesystem, Git, Docker, System, Network
- β Open Skills System - Customizable domain knowledge (vs Claude's closed skills)
- β Offline mode - Ollama support for complete privacy
- β Full control - User confirmation for all commands
- β Cross-platform - Windows/macOS/Linux
# Clone repository
git clone https://github.com/Geoion/clis.git
cd clis
# Install (all dependencies will be installed automatically)
pip install -e .# Interactive setup
clis init
# Or specify provider
clis init --provider deepseek # Low cost (recommended)
clis init --provider ollama # Free, offline
clis init --provider qwen # Chinese-optimized# Tool calling is enabled by default
clis run "list all Python files"
clis run "show my git changes"
clis run "show container logs"clis run "show git status"
clis run "show my changes"
clis run "commit modified files by directory"
clis run "push to remote"
clis run "create a new feature branch"
clis run "pull latest changes from main"clis run "list running containers"
clis run "show logs of web-app"
clis run "restart web container"
clis run "show container stats"clis run "find all TODOs in Python files"
clis run "replace print with logger in main.py"
clis run "check linter errors in src/"
clis run "show me functions matching pattern 'async def.*'"clis run "show system info"
clis run "is port 8000 open?"
clis run "show top CPU processes"
clis run "start dev server in background"
clis run "list background processes"# Run query (tool calling enabled by default)
clis run "your query"
# Disable tool calling
clis run "your query" --no-tool-calling
# Create custom skill
clis new "skill-name"
clis new "description" --auto # AI-generated
# List all skills
clis list
# Edit skill
clis edit skill-name
# View configuration
clis config
# Check health
clis doctor
# Debug mode
clis --verbose run "your query"list_files- List directory contentsread_file- Read file content (with intelligent chunking)write_file- Write to filesedit_file- π Precise file editing with diff preview and dry-rundelete_file- Delete filessearch_files- Search text in filesgrep- π Enhanced code search with regex supportread_lints- π Read linter errors (flake8, pylint, ruff, eslint)file_tree- Display directory treeget_file_info- File metadata
git_status- Repository statusgit_add- Stage filesgit_commit- Commit changesgit_push- π Push to remote (with upstream support)git_pull- π Pull from remote (with rebase support)git_branch- π Branch management (list/create/delete/rename)git_checkout- π Switch branches or restore filesgit_diff- View changesgit_log- Commit history
docker_ps- List containersdocker_logs- Container logsdocker_inspect- Container detailsdocker_stats- Resource usage
system_info- OS, CPU, memorycheck_command- Verify command availabilityget_env- Environment variableslist_processes- Running processesrun_terminal_cmd- π Execute commands (with background support)
http_request- HTTP requestscheck_port- Port availability
execute_command- Execute shell commandsgit_status- Quick git status (built-in)
DeepSeek (Recommended for Cost)
clis init --provider deepseek
export DEEPSEEK_API_KEY="your-key"
# Cost: ~$0.003/queryOllama (Recommended for Privacy)
# Install Ollama from https://ollama.ai
ollama pull llama3
clis init --provider ollama
# Cost: $0 (completely free)Qwen (Chinese-Optimized)
clis init --provider qwen
export QWEN_API_KEY="your-key"Edit ~/.clis/config/llm.yaml:
model:
name: deepseek-chat
context:
window_size: 64000 # deepseek-chat: 64K, deepseek-coder: 128K
auto_chunk: true # Enable automatic file chunking
chunk_overlap: 200 # Overlap lines between chunks
reserved_tokens: 4000 # Reserved for system promptUnlike Claude Code's closed skills, CLIS uses open, customizable Skills:
- π Markdown format - Easy to read and edit
- π§ User-definable - Create skills for any domain
- π€ Community-driven - Share and collaborate
- π― Fine-grained control - Safety rules, platform compatibility
See skills/ directory for examples (Docker, Git, etc.)
- edit_file: Precise editing with diff preview and dry-run mode
- grep: Regex search with context lines
- read_lints: Automatic linter integration
Full git operations from status to push, including branch management
Run long-running tasks (dev servers, builds) in background with process management
Three-layer protection system ensures safe command execution:
-
Blacklist Protection - Blocks dangerous patterns
- Destructive commands (
rm -rf /,dd,mkfs) - System modifications without confirmation
- Fork bombs and malicious patterns
- Destructive commands (
-
Risk Scoring (0-100) - Automatic risk assessment
- Low (0-30): Read-only operations - Auto-execute
- Medium (31-60): Write operations - Require confirmation
- High (61-90): Destructive operations - Require confirmation
- Critical (91-100): System-level operations - Blocked
Examples:
ls -laβ 10 (low) β Auto-executegit add .β 50 (medium) β Confirmgit pushβ 70 (high) β Confirmgit push --forceβ 95 (critical) β Blockedrm -rf dirβ 85 (high) β Confirmsudo apt installβ 95 (critical) β Blocked
-
User Confirmation - Interactive approval for risky operations
- All high-risk tools require explicit approval
- Risk score and level displayed for transparency
- File modifications, git operations, deletions always confirmed
All tools have explicit risk scores and confirmation requirements. Configure behavior in ~/.clis/config/safety.yaml.
Contributions are welcome! Please feel free to submit a Pull Request.
Apache License 2.0 - see LICENSE file for details.
- Homepage: https://github.com/Geoion/clis
- Issues: https://github.com/Geoion/clis/issues
- Documentation: https://github.com/Geoion/clis#readme