<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.wiegert.link/index.php?action=history&amp;feed=atom&amp;title=LLM%2FClaude</id>
	<title>LLM/Claude - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.wiegert.link/index.php?action=history&amp;feed=atom&amp;title=LLM%2FClaude"/>
	<link rel="alternate" type="text/html" href="https://wiki.wiegert.link/index.php?title=LLM/Claude&amp;action=history"/>
	<updated>2026-09-06T00:04:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.wiegert.link/index.php?title=LLM/Claude&amp;diff=564&amp;oldid=prev</id>
		<title>Damme: Create Claude documentation page — via Claude bot</title>
		<link rel="alternate" type="text/html" href="https://wiki.wiegert.link/index.php?title=LLM/Claude&amp;diff=564&amp;oldid=prev"/>
		<updated>2026-09-05T13:59:33Z</updated>

		<summary type="html">&lt;p&gt;Create Claude documentation page — via Claude bot&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Claude&amp;#039;&amp;#039;&amp;#039; is a family of large language models developed by [https://www.anthropic.com Anthropic]. This page documents how Claude is used and integrated in Damme&amp;#039;s workflow, including API access, the Cowork desktop app, and automated wiki editing via bot.&lt;br /&gt;
&lt;br /&gt;
== Model Family ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Model !! Strengths !! Typical Use&lt;br /&gt;
|-&lt;br /&gt;
| Claude Opus || Deepest reasoning, complex analysis || Architecture decisions, thorough code review, long documents&lt;br /&gt;
|-&lt;br /&gt;
| Claude Sonnet || Balanced speed and capability || Day-to-day coding, research, writing&lt;br /&gt;
|-&lt;br /&gt;
| Claude Haiku || Fast, lightweight || Quick lookups, classification, simple edits&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Current models are versioned (e.g. claude-opus-4-6, claude-sonnet-4-5). Check [https://docs.claude.com/en/docs/about-claude/models Anthropic&amp;#039;s model page] for the latest.&lt;br /&gt;
&lt;br /&gt;
== Access Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Cowork (Desktop App) ===&lt;br /&gt;
Primary interface. Runs a cloud sandbox with shell, file tools, and browser automation. Key capabilities:&lt;br /&gt;
* Full Linux environment with Python, Node, common CLI tools&lt;br /&gt;
* File creation and delivery (Word, Excel, PowerPoint, PDF, HTML)&lt;br /&gt;
* Web search and page fetching&lt;br /&gt;
* Connection to the local machine via device bridge (file access, local shell)&lt;br /&gt;
* Built-in browser for authenticated site interaction&lt;br /&gt;
* Scheduled tasks (recurring or one-shot)&lt;br /&gt;
* Persistent memory across sessions&lt;br /&gt;
&lt;br /&gt;
=== API ===&lt;br /&gt;
Direct API access via &amp;lt;code&amp;gt;https://api.anthropic.com/v1/messages&amp;lt;/code&amp;gt;. Requires an API key from [https://console.anthropic.com the Anthropic Console].&lt;br /&gt;
&lt;br /&gt;
Basic request structure:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
curl https://api.anthropic.com/v1/messages \&lt;br /&gt;
  -H &amp;quot;content-type: application/json&amp;quot; \&lt;br /&gt;
  -H &amp;quot;x-api-key: YOUR_KEY&amp;quot; \&lt;br /&gt;
  -H &amp;quot;anthropic-version: 2023-06-01&amp;quot; \&lt;br /&gt;
  -d &amp;#039;{&lt;br /&gt;
    &amp;quot;model&amp;quot;: &amp;quot;claude-sonnet-4-5-20250514&amp;quot;,&lt;br /&gt;
    &amp;quot;max_tokens&amp;quot;: 1024,&lt;br /&gt;
    &amp;quot;messages&amp;quot;: [{&amp;quot;role&amp;quot;: &amp;quot;user&amp;quot;, &amp;quot;content&amp;quot;: &amp;quot;Hello&amp;quot;}]&lt;br /&gt;
  }&amp;#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Claude Code (CLI) ===&lt;br /&gt;
Command-line tool for agentic coding. Runs in a terminal, can read/write files, run shell commands, and manage git workflows. Supports MCP (Model Context Protocol) servers for extensibility.&lt;br /&gt;
&lt;br /&gt;
== Wiki Integration ==&lt;br /&gt;
&lt;br /&gt;
=== Bot Setup ===&lt;br /&gt;
Claude can edit this wiki via the [https://www.mediawiki.org/wiki/API:Main_page MediaWiki API] using a bot password.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration on the wiki side:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Go to &amp;lt;code&amp;gt;Special:BotPasswords&amp;lt;/code&amp;gt; logged in as an admin&lt;br /&gt;
# Create a bot password with appropriate grants (&amp;#039;&amp;#039;Edit existing pages&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Create, edit, and move pages&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Upload new files&amp;#039;&amp;#039;)&lt;br /&gt;
# Note the bot username (&amp;lt;code&amp;gt;Username@BotName&amp;lt;/code&amp;gt;) and generated password&lt;br /&gt;
# Ensure &amp;lt;code&amp;gt;$wgEnableAPI = true;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$wgEnableWriteAPI = true;&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; (both default to true)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Authentication flow:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Obtain a login token: &amp;lt;code&amp;gt;action=query&amp;amp;meta=tokens&amp;amp;type=login&amp;lt;/code&amp;gt;&lt;br /&gt;
# POST login with &amp;lt;code&amp;gt;action=login&amp;lt;/code&amp;gt;, bot username, password, and token&lt;br /&gt;
# Obtain a CSRF token: &amp;lt;code&amp;gt;action=query&amp;amp;meta=tokens&amp;lt;/code&amp;gt;&lt;br /&gt;
# Use the CSRF token for edit/create operations&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Network access note:&amp;#039;&amp;#039;&amp;#039; The Cowork cloud sandbox cannot reach this wiki directly (egress allowlist). The connection goes through the built-in browser on the linked desktop, using JavaScript &amp;lt;code&amp;gt;fetch()&amp;lt;/code&amp;gt; calls against the API. This works because the browser runs on the local machine which can resolve &amp;lt;code&amp;gt;wiki.wiegert.link&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== What Claude Can Do on This Wiki ===&lt;br /&gt;
* Create and edit pages (wikitext)&lt;br /&gt;
* Create subpage hierarchies&lt;br /&gt;
* Add categories and interwiki links&lt;br /&gt;
* Upload files (with the right grants)&lt;br /&gt;
* Read and summarize existing content&lt;br /&gt;
&lt;br /&gt;
=== Limitations ===&lt;br /&gt;
* No direct shell/curl access from cloud — must use browser JS bridge&lt;br /&gt;
* Each browser JS call is a separate execution context (no persistent variables across calls unless stored on &amp;lt;code&amp;gt;window&amp;lt;/code&amp;gt;)&lt;br /&gt;
* Bot edits are attributed to the wiki user account, not a separate bot identity&lt;br /&gt;
* Rate limiting may apply for bulk operations&lt;br /&gt;
&lt;br /&gt;
== Prompting Tips ==&lt;br /&gt;
* Be specific and concrete — Claude works best with clear requirements&lt;br /&gt;
* Provide examples of desired output when format matters&lt;br /&gt;
* For code: specify language, framework, and constraints upfront&lt;br /&gt;
* For wiki edits: provide the page title and describe the desired content structure&lt;br /&gt;
* Use &amp;lt;code&amp;gt;CLAUDE.md&amp;lt;/code&amp;gt; files in project roots to give persistent context to Claude Code sessions&lt;br /&gt;
&lt;br /&gt;
== MCP (Model Context Protocol) ==&lt;br /&gt;
Claude supports MCP servers — local or remote services that expose tools, resources, and prompts. Useful for:&lt;br /&gt;
* Connecting to databases, APIs, or custom workflows&lt;br /&gt;
* Extending Claude&amp;#039;s capabilities beyond built-in tools&lt;br /&gt;
* Integrating with project-specific toolchains&lt;br /&gt;
&lt;br /&gt;
See [https://modelcontextprotocol.io MCP documentation] for the specification.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[LLM]] — parent page&lt;br /&gt;
* [https://docs.claude.com Claude Documentation]&lt;br /&gt;
* [https://console.anthropic.com Anthropic Console]&lt;br /&gt;
* [https://www.anthropic.com/claude Anthropic — Claude]&lt;br /&gt;
&lt;br /&gt;
[[Category:Technology]]&lt;br /&gt;
[[Category:AI]]&lt;br /&gt;
[[Category:Automation]]&lt;/div&gt;</summary>
		<author><name>Damme</name></author>
	</entry>
</feed>