CLI Tools2026年3月31日·1 分钟阅读

Claude Engineer — Interactive AI Dev CLI

Interactive CLI powered by Claude for software development. Self-generating tools, file operations, web search, code analysis, and project management. 11K+ stars.

Agent 就绪

这个资产会安全暂存

这个资产会先安全暂存。复制的指令会要求 Agent 读取暂存文件,并在激活脚本、MCP 配置或全局配置前先确认。

Stage only · 17/100策略:需暂存
Agent 入口
任意 MCP/CLI Agent
类型
CLI Tool
安装
Stage only
信任
信任等级:Established
入口
Claude Engineer — Interactive AI Dev CLI
安全暂存命令
npx -y tokrepo@latest install 7636ec0d-1b3f-4818-8664-6c2ca2a1fa30 --target codex

先暂存文件;激活前需要读取暂存 README 和安装计划。

TL;DR
Interactive CLI powered by Claude with self-generating tools, file operations, web search, and code analysis for software development.
§01

What it is

Claude Engineer is an interactive command-line interface powered by Claude for software development tasks. It provides file operations, web search, code analysis, and project management capabilities through a conversational interface in your terminal.

The tool features self-generating tools: Claude Engineer can create new tools for itself based on the task at hand. This makes it adaptable to diverse development workflows without requiring manual plugin development.

§02

How it saves time or tokens

Claude Engineer reduces context switching between your editor, terminal, browser, and documentation. Instead of jumping between tools, you describe what you need in natural language and Claude Engineer handles file reads, code modifications, web searches, and project analysis in one session.

The self-generating tools feature means Claude Engineer can extend its capabilities on the fly. If a task requires a custom script, Claude Engineer writes and executes it as part of the workflow.

Additionally, the project's well-structured documentation and active community mean developers spend less time troubleshooting integration issues. When AI coding assistants generate code for this tool, they can reference established patterns from the documentation, producing correct implementations with fewer iterations and lower token costs.

§03

How to use

  1. Install Claude Engineer:
pip install claude-engineer
  1. Set your Anthropic API key:
export ANTHROPIC_API_KEY='your-key-here'
  1. Start the interactive CLI:
claude-engineer
  1. Describe your task in natural language. Claude Engineer will read files, analyze code, suggest changes, and execute operations with your confirmation.
§04

Example

$ claude-engineer
> Analyze the src/ directory and find all functions that don't have docstrings

Claude Engineer will:
1. Read all Python files in src/
2. Parse the AST to find functions without docstrings
3. List the functions with file paths and line numbers
4. Offer to generate docstrings for each one
§05

Related on TokRepo

§06

Common pitfalls

  • Running Claude Engineer on large codebases without scoping the task. Broad requests like 'refactor everything' consume many tokens. Be specific about which files or modules to work on.
  • Not reviewing generated code before applying changes. Claude Engineer can modify files directly. Always review proposed changes before confirming.
  • Forgetting to set token usage limits. Claude Engineer can consume significant API credits on complex tasks. Set budget limits in your Anthropic account.
  • Failing to review community discussions and changelogs before upgrading. Breaking changes in major versions can disrupt existing workflows. Pin versions in production and test upgrades in staging first.

常见问题

How does Claude Engineer differ from Claude Code?+

Claude Engineer is a community-built open-source CLI tool that wraps the Claude API with file operations and web search. Claude Code is Anthropic's official CLI product with native integration, MCP support, and enterprise features. Both provide terminal-based AI-assisted development.

What can Claude Engineer do with files?+

Claude Engineer can read, write, create, and modify files. It can analyze code structure, find patterns, generate documentation, refactor code, and create new files. All file operations require user confirmation before execution.

Does Claude Engineer support web search?+

Yes. Claude Engineer includes web search capabilities for looking up documentation, finding code examples, and researching solutions. This reduces the need to switch to a browser during development sessions.

What are self-generating tools?+

Self-generating tools are custom scripts that Claude Engineer creates during a session to handle specific tasks. If Claude Engineer needs a capability it does not have, it can write a Python script, execute it, and use the results. This makes it adaptable to novel development scenarios.

How much does Claude Engineer cost to use?+

Claude Engineer itself is free and open-source. You pay for Claude API usage through your Anthropic account. Costs depend on the volume and complexity of your requests. Simple file operations are cheap; large codebase analysis consumes more tokens.

引用来源 (3)
🙏

来源与感谢

Created by Doriandarko. Open source. Doriandarko/claude-engineer — 11,000+ GitHub stars

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产