Add Claude guidance page#167
Open
jpmckinney wants to merge 23 commits into
Open
Conversation
Add a "Claude" page (docs/agents/) covering task selection, tool and model choice, context management, prompting, sycophancy, and security/responsibility for Claude tools in general, with Claude Code specifics where relevant. Link to official Anthropic documentation throughout. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Replace the placeholder note with verified product surfaces and official links: Claude Cowork (desktop), Claude for Microsoft 365 (Word/Excel/ PowerPoint/Outlook), and Claude Design. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Generalize the context-window and compaction explanation across all Claude products (auto-compaction happens in the chat apps too), and cordon the Claude Code commands into a clearly labeled subsection that non-developer readers can skip. Present Projects (apps) and CLAUDE.md/Skills (Claude Code) side by side for persisting context across conversations. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Rename the guidance sections to verb clauses (Select your task, Choose the tool/model, Manage the context, Prompt effectively, Watch for sycophancy, Work securely and responsibly). Under "Persist context across sessions", add and link the Claude apps' profile instructions, memory, and projects. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Add docs/agents/claude-code.rst (nested under Claude): choosing a project and task, setup (CLAUDE.md, plan mode, devcontainer), planning, steering, and the code-specific security policy (permission/deny rules, SSH-key caveat, no production access, log hygiene, admin settings) and disclosure tags (__generated_by__, __generated_at__, __review_status__) with the maintaining hooks. Worktrees, MCP servers, and cost tracking are admonitions rather than sections. Slim the Claude page's "Work securely and responsibly" to surface-agnostic guidance and link to the Claude Code page for the codebase specifics. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Add the settings.json registration and the rewrite-python-to-uv.sh and python-post-write.sh hook scripts as code blocks under "Disclose generated code". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Explain that the Claude apps' memory is a running summary Claude manages and rewrites (scoped per project), unlike user-authored profile/project instructions, which apply verbatim. Direct readers to instructions or CLAUDE.md for anything that must persist exactly. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
State explicitly that inside a Project, Claude uses only that Project's memory, not account-wide memory from other chats, and that general memory covers only non-project chats. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Describe the "View and edit memory" screen (and pause/reset/incognito), not just the toggle, and add a citation for the managed-summary behavior. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Explain that a file attached to a message loads in full (counts against the context window), while large Project knowledge is retrieved (RAG) rather than loaded wholesale. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Split "Manage the context" into general content (how context works, compaction, Claude's own context management) followed by subsections: Files and attachments (noting chat loads in full while Cowork and Claude Code read on demand), Models and thinking, Instructions and projects, Memory, and In Claude Code. Explain how telling Claude to remember something works. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Note that chat caps attachment size and returns a length error rather than silently dropping earlier context, and that a file attached inside a Project chat is context for that conversation only, not added to project knowledge. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Reference Upload files (30 MB cap) and Troubleshoot error messages alongside Usage and length limits, so each attachment-handling claim is verifiable. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Cite the API Glossary (a token is ~3.5 English characters, varying by language) and drop the "reportedly" hedge. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Keep the language-varies-by-tokenization point (and its citation) but drop the English characters-per-token number, which was irrelevant to the claim. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
The Glossary states token counts vary by language but not the direction, so state only that the language affects how fast the window fills. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Frame the page with the three primitives — model, context, tools — and note that skills, memory, projects, MCP, and subagents are variations on them. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Note that retrieval (RAG) is a tool that pulls relevant context in, as another example of features composing the model/context/tools primitives. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Use "product" for the product/surface sense of "tool" (section heading, "these products", "match the product", "how each product helps", "depends on the product", "Claude's products") and keep "tool" only for the LLM-tool sense (the mental-model admonition, "use tools", the Bash tool, grep, hooks). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
State that the two levers a user controls to improve output are managing context and improving the prompt, and that almost everything else feeds one of the two. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Keep the mental-model admonition as orientation up top, and recap the two levers (managing context, improving prompts) plus the responsibility points in a closing "In short" admonition. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Give the specific 200,000-token window and drop the Enterprise hedge. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
Add that a recorded preference for agreement carries into new chats, so even starting fresh may not reset it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a "Claude" page (docs/agents/) covering task selection, tool and model
choice, context management, prompting, sycophancy, and security/responsibility
for Claude tools in general, with Claude Code specifics where relevant. Link
to official Anthropic documentation throughout.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_0125gpj95EzqfeMYBMWscJae
My original outline to compare against: