Files
nexus/wiki/entities/Claude-Code.md

35 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Claude Code"
type: entity
tags: [AI编程, Anthropic, 开发者工具]
last_updated: 2026-04-15
---
## 基本信息
- **发布方**[[Anthropic]]
- **类型**CLI 编程工具
- **核心能力**:通过自然语言指令执行复杂编程任务,支持 Skill 扩展
## 关键机制
### 调用方式
- [[Print Mode]]stdin 管道非交互模式,适合绝大多数任务
- [[TMUX交互模式]]tmux session 交互模式,适合超长任务
### 权限控制
- `--permission-mode bypassPermissions`:跳过所有交互确认
- `--dangerously-skip-permissions`CLI 内部触发,可能仍需交互
### Skill 加载
通过 `--add-dir` 扫描目录,自动激活匹配触发条件的 SKILL.md
## 与 OpenClaw 的关系
OpenClaw 的 terminal 工具通过 `claude -p` 调用 Claude Code是获取 Claude Code 技能的唯一正确方式。[[delegate_task]] 无法建立外部 CLI 通道。
## Connections
- [[Claude-Code]] ← 发布方 ← [[Anthropic]]
- [[Print Mode]] ← 执行方 ← [[Claude-Code]]
- [[TMUX交互模式]] ← 执行方 ← [[Claude-Code]]
- [[Skill加载]] ← 作用于 ← [[Claude-Code]]
- [[Hermes]] ← 调用方 ← [[Claude-Code]]