# Claude

> Anthropic Claude AI models for analysis and coding. Use for AI assistants. Use when this capability is needed.

- Skill: `tomevault-io/claude-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/claude-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/claude-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/claude-2

---


# Claude

Claude (by Anthropic) is OpenAI's main competitor. It is famous for its **large context window** (200k+), low hallucination rates, and "Artifacts" UI.

## When to Use

- **Coding**: Claude 3.5 Sonnet is widely considered the best coding model in 2025.
- **Long Context**: Analyzing massive PDFs or codebases.
- **Safety**: Enterprise-grade safety guardrails.

## Core Concepts

### Models

- **Opus**: The smartest, largest model.
- **Sonnet**: The sweet spot. Fast and incredibly capable.
- **Haiku**: Fast and cheap.

### Artifacts

A UI feature (now an API pattern) where the model generates standalone content (React components, SVGs) in a side window.

### Computer Use

Claude can interact with a computer GUI (moving mouse, clicking) via API.

## Best Practices (2025)

**Do**:

- **Use Sonnet for Dev**: It beats GPT-4o in many coding benchmarks.
- **Use XML Tags**: Claude loves `<instructions>` and `<context>` tags in prompts.
- **Prefill Responses**: Guide Claude by prefilling the `{"role": "assistant", "content": "{"}` to force JSON.

**Don't**:

- **Don't ignore System Prompts**: Claude relies heavily on strong system instructions.

## References

- [Anthropic Documentation](https://docs.anthropic.com/)

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/g1joshi) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-14 -->

