Notes on gotchas while migrating 35kb preprompts from Opus to self-hosted Ollama
The article argues that migrating large prompts from cloud-based LLM providers to self-hosted Ollama is necessary to protect sensitive user data and intellectual property. The author contends that frontier AI companies are untrustworthy due to potential data retention and training on user sessions, citing recent controversies involving mathematicians and OpenAI. Additionally, the text criticizes the exaggerated cybersecurity claims made by these providers, suggesting that their public statements serve as ethical deflection rather than genuine security improvements.
- ▪The author advocates for self-hosting LLMs to prevent the theft of session metadata and unique problem-solving insights by cloud providers.
- ▪Recent public concerns from mathematicians highlight the risk that inference providers may train on user activity to generate new discoveries.
- ▪The article characterizes frontier AI providers as untrustworthy because they cannot audit their own data retention or training pipelines.
- ▪The author criticizes AI companies for using cybersecurity grandstanding as a form of ethical deflection while running unsandboxed agent fleets.
- ▪Effective cybersecurity requires dedicated expert teams for exploit mitigation and development, rather than relying on generalist pentesting or public fear-mongering.
Hacker News (Front Page) files mainly under programming. We currently carry 1,606 of its stories. Top-voted stories on Hacker News.
Story provenance
Source · retrieval · rights · ranking — open for full record
inspect →
Story provenance
Attribution is not the same as permission. This drawer separates discovery metadata, excerpts, WeSearch-generated summaries, reuse status, and whether the publisher receives the visit. Nothing here claims a legal grant the publisher has not made.
Record
| Original publisher | Hacker News (Front Page) |
| Canonical URL | https://patrickmccanna.net/notes-on-migrating-large-prompts-away-from-anthropic-openai-to-self-hosted-llms/ |
| Publication time | Mon, 14 Sep 2026 13:59:09 +0000 |
| Retrieval time | 2026-09-14T14:41:51.279Z |
| Last seen | 2026-09-14T14:41:51.279Z |
| Headline source | Publisher (no WeSearch rewrite) |
| Excerpt source | publisher body |
| Excerpt method | First ~120 words (~800 chars) of extracted publisher body, fair-use limited. |
| Summary | WeSearch · cerebras-chat (WeSearch summarizer) |
| Summary source text | contentText |
| Citation coverage | Summary is a WeSearch-generated derivative; primary citation is the original publisher URL. |
| Cluster | q10JY6WNtl4t · 1 stories |
| Cluster logic | Grouped by semantic title/content similarity across sources within a rolling window. Same-publisher template collisions are excluded from coverage comparison. |
| Ranking reason | Story pages are not engagement-ranked. Hub feeds use recency, with optional source-diversified chronological ordering (cap consecutive stories per source). No personalized ranking. |
| Publisher visit | Yes — open original |
| Substitutes article? | No — link-out required for full text |
Rights status (four layers)
WeSearch handling by dimension
| Indexing | May the item be indexed (stored, ranked, made findable)? | Allowed |
| Snippet | May a short excerpt of the publisher's text be shown? | Allowed |
| AI summary | May WeSearch generate its own short summary of the article? | Limited |
| Retrieval / RAG | May the content be exposed for third-party retrieval-augmented generation? | Not asserted |
| Model training | May the content be used to train AI models? | Not asserted |
| Commercial reuse | May the content be reused commercially? | Not permitted |
Basis: Derived from the published RSS/Atom feed. Contact: [email protected]. Reviewed: 2026-07-24.
Opening excerpt (first ~120 words) tap to expand
Posted on September 13, 2026September 14, 2026 by patrickNotes on migrating 35kb prompts away from Anthropic/OpenAI to Self-Hosted Ollama+opencode Motivations: Maybe you’re a Claude code/codex user diligently avoiding uploading personal data to LLM providers. Is it possible that the most valuable information isn’t your data- but the metadata about your sessions? The intuitions you apply in coming up with ways to coax the ai into solving problems might actually be special. It’s statistically improbable, but Claude might not be gaslighting you. It may be that you’ve actually got a real insight! Your agent sessions are transcripts of the hardest problems you work on.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Hacker News (Front Page).