Claude Code is built on the Agent SDK which provides:
- async query() for one-off tasks
- ClaudeSDKClient for interactive sessions
- Tools,.hooks, subagents, MCP servers as first-class configurations
Claude Code includes these built-in tools:
| Tool | Purpose |
|---|---|
| Read | Read any file |
| Write | Create new files |
| Edit | Precise edits with search/replace |
| Bash | Run terminal commands |
| Glob | Find files by pattern |
| Grep | Search content with regex |
| WebSearch | Search the web |
| WebFetch | Fetch page content |
| AskUserQuestion | Clarifying questions |
| Task | Spawn subagents |
Agent Skills are folders with SKILL.md files:
- Auto-discovered from
.claude/skills/or~/.claude/skills/ - YAML frontmatter with metadata
- Markdown body with instructions
- Model invokes based on description matching
Example SKILL.md:
---
name: code-review
description: Security-focused code review
---
When reviewing code, check:
1. OWASP Top 10 vulnerabilities
2. Error handling completeness
3. Performance implicationsask- Always ask for permission (default)accept_edits- Auto-approve file edits, ask for other actionsauto- Auto-approve safe operations (dangerous)never- Dry-run mode
Lifecycle hooks for custom behaviors:
PreToolUse/PostToolUseSessionStart/SessionEndUserPromptSubmit
Open standard for connecting AI to external systems:
- Primitives: Tools, Resources, Prompts
- Transport: Stdio (local) or HTTP (remote)
- Servers: Filesystem, Git, Memory, etc.
| Tool | Claude Code | NVIDIA CLI v6 |
|---|---|---|
| read_file | ✅ | ✅ |
| write_file | ✅ | ✅ |
| edit_file | ✅ | ✅ (new) |
| execute_command | ✅ | ✅ |
| glob_search | ✅ | ✅ |
| grep_search | ✅ | ✅ |
| list_directory | ✅ | ✅ |
| web_search | ✅ | ✅ |
| web_fetch | ✅ | ✅ |
| git | ✅ | ✅ |
| ask_user | ✅ | ✅ |
Built-in Skills (4):
code-review- Security-focused reviewsrefactor- Best practice refactoringtest- AAA pattern testingdebug- Scientific debugging
Auto-activation: Skills activate when user input matches regex patterns
Full implementation with 4 modes:
ask- Always confirmaccept_edits- Auto-approve file writesauto- Auto-approve safe operationsnever- Dry-run
Implemented the core ReAct pattern:
- Plan - User input + system prompt
- Act - Model generates tool calls
- Observe - Tools execute and return results
- Iterate - Model processes results, may call more tools
Framework implemented (extensible):
session_startsession_enduser_promptpre_tool_usepost_tool_use
| Command | Purpose |
|---|---|
/init |
Analyze project |
/add |
Add files to context |
/drop |
Remove files from context |
/glob |
Search files by pattern |
/grep |
Search file contents |
/skill |
Toggle skills |
/mode |
Change permission mode |
/status |
Show session metrics |
/compact |
Compress history |
/undo |
Remove last exchange |
nv.py- Main v6.0 with all featuresnv_v6.py- Clean minimal versionCLAUDE_CODE_INTEGRATION.md- This documentation
No public references found in Anthropic repos. It may be:
- An internal codename
- A community/third-party project
- Not yet publicly documented
The NVIDIA CLI uses functional naming conventions instead of character-based naming.
# Install
pip install -e .
# Chat with ReAct agent
nv chat
# With specific mode
nv chat --mode accept_edits
# One-shot query
nv ask "explain this code"