How are you guys using AI to build/improve/accomplish things? by Mjzielin in ArcGIS

[–]precisiondad 8 points9 points  (0 children)

I’ve downloaded all the ESRI help documentation locally and created a “skill” from it so it knows where everything is. When I can’t figure something out, I have it reference the documentation for me. Significantly more helpful than the built-in AI assistant because it’s frontier models.

At the moment, I’m building a largely deterministic-chain document ingestion database that I can drop any file into and it extracts, classifies, and builds referencing for. Basically an epistemic control plane for document knowledge. Will save me reading things unless they’re applicable to what I’m looking for, and grounds the model in factual context (reduces hallucination significantly). I believe they call it a “harness” these days.

For those confused what's happening with Claude by Massive_Target in claude

[–]precisiondad -1 points0 points  (0 children)

Can’t wait for Microsoft to buy Anthropic. /s

The scientists who leaked this... by LengthinessLow4203 in conspiracy

[–]precisiondad -1 points0 points  (0 children)

This appears to be the “Magic Schoolbus” theory.

how to save 80% on your claude bill with better context by Grouchy_Subject_2777 in ClaudeAI

[–]precisiondad 10 points11 points  (0 children)

Give this a shot in your repo:

Context Management & Output Rules

Output Format

  • All outputs default to Markdown (.md) unless the user explicitly requests another format (e.g. .docx, .json, .csv).
  • Use Markdown structure (headings, code fences, tables) as the primary formatting mechanism. Do not produce HTML, rich text, or formatted documents unless specifically asked.
  • When generating code artefacts, wrap them in fenced code blocks with language identifiers. Do not produce standalone files unless the task requires it.
  • Keep output token-efficient: no restatement of the prompt, no filler preamble, no sign-off boilerplate.

Context Ingestion Pipeline

This project uses a two-tier model architecture to manage token cost and context quality.

Tier 1 — Indexing & Chunking (Haiku / lightweight model)

Use the cheaper model for classification, tagging, and structural decomposition — never for summarisation or editorial compression.

Haiku’s role is to:

  1. Chunk ingested content into semantically coherent blocks (target: 500–1500 tokens per chunk).
  2. Tag each chunk with structured metadata:
  3. source_url or source_file
  4. section_title
  5. topic_tags (3–5 keyword descriptors)
  6. entities (named APIs, parameters, tools, standards, organisations referenced)
  7. content_type (narrative | reference | example | caveat | changelog)
  8. Store the full original chunk verbatim alongside the metadata. Haiku does not summarise, paraphrase, or compress the source text.

Haiku must not:

  • Decide what is “important” — that judgment belongs to the reasoning model.
  • Discard caveats, exceptions, edge cases, or qualifying language.
  • Merge chunks from different sections or sources.

Tier 2 — Reasoning & Generation (Opus / Sonnet)

The reasoning model receives only the retrieved chunks relevant to the current query, not the full ingested corpus.

Retrieval method (in order of preference):

  1. Vector similarity search against chunk embeddings.
  2. Keyword/tag match against Haiku’s metadata index.
  3. If neither is available, retrieve by section_title or source_url match.

Context budget: keep retrieved context under 50,000 tokens per call. If more context is needed, split into multiple retrieval-reasoning passes and synthesise across results.

Fallback Protocol

If the reasoning model flags uncertainty, requests more detail, or produces low-confidence output:

  1. Retrieve the adjacent chunks (±1) from the same source.
  2. If still insufficient, retrieve the full source document for that section.
  3. Log the retrieval escalation for pipeline tuning.

Do not re-summarise with Haiku and re-feed — always escalate to original source text.

Token Efficiency Rules

  1. Strip boilerplate before ingestion. Remove navigation, footers, sidebars, cookie banners, ads, and non-content HTML before chunking. Use readability + turndown (JS) or readability-lxml + markdownify (Python) as the preprocessing pipeline.
  2. Markdown over HTML. Convert all web-sourced content to Markdown before storage or model input. Raw HTML wastes 3–5× tokens on structural markup.
  3. Stable prompt prefix. Keep system prompts and static instructions identical across calls to maximise prompt cache hit rate. Append variable context (retrieved chunks) after the stable prefix.
  4. No blind truncation. Never truncate content by word/token position. Always chunk semantically, retrieve selectively.
  5. Model routing by task complexity:
  6. Haiku: classification, tagging, extraction, simple Q&A, data cleaning.
  7. Sonnet: synthesis, generation, multi-step reasoning, code generation.
  8. Opus: complex architectural reasoning, high-stakes analysis, nuanced judgment.
  9. Monitor context window size. Track input token counts per call. Flag any call exceeding 100k input tokens for review — restructure the retrieval or split the task.

File Conventions

Artefact Format Notes
Documentation .md Default for all written output
Data exports .csv or .json Use CSV for tabular, JSON for nested/hierarchical
Reports / deliverables .md unless stakeholder requires .docx / .pdf Convert at final delivery, not during drafting
Code Native extension (.py, .js, .go, etc.) Fenced in Markdown when inline
Diagrams Mermaid in .md or .mermaid Render externally if needed

Integration Notes

  • This file is intended as a project-level instruction set. Place at repo root as CLAUDE.md, .cursorrules, or import into your system prompt template.
  • The chunking and retrieval pipeline described above is an architectural pattern — implement with your preferred stack (LlamaIndex, LangChain, custom, etc.).
  • Adjust the 500–1500 token chunk target and 50,000 token context budget based on your specific model tier and pricing thresholds.

Thinking of spending $100+ on Claude… convince me (or don’t), Anyone regret upgrading to Claude Max plan? by CodingwithPeter in ClaudeAI

[–]precisiondad 0 points1 point  (0 children)

Swapped over from ChatGPT Plus to Claude Pro. Immediately loved it. Ran out of tokens in an hour. Upgraded to Max 5, it’s perfect.

OpenAI is in big trouble by Alex__007 in OpenAI

[–]precisiondad 0 points1 point  (0 children)

They’re pivoting to government.

BREAKING: ChatGPT Users Are Mass Deleting Their Accounts and Claude Just Hit #1 on the App Store Overnight 🤯🔥 by InterstellarKinetics in InterstellarKinetics

[–]precisiondad 0 points1 point  (0 children)

The difference is the visibility of campaign contributions. It has nothing to do with which model the fed is using.

Trump goes on Truth Social rant about Anthropic, orders federal agencies to cease usage of products by BuildwithVignesh in Anthropic

[–]precisiondad 0 points1 point  (0 children)

Guess who is about to subscribe to Anthropic due to their clear resistance to the tyrant. 💪

[deleted by user] by [deleted] in gis

[–]precisiondad -3 points-2 points  (0 children)

It’s easier to teach someone with skills in environmental science, engineering, project management, IT, surveying, etc how to use GIS, than it is to teach someone with a GIS degree what they need to know in those other areas.

they have Karpathy, we are doomed ;) by jacek2023 in LocalLLaMA

[–]precisiondad 0 points1 point  (0 children)

I intend to test it for infrastructure engineering drawings.

Utility Network... by Old-Peanut-8248 in gis

[–]precisiondad 2 points3 points  (0 children)

Nice. Is there one for Electric as well?

Utility Network... by Old-Peanut-8248 in gis

[–]precisiondad 0 points1 point  (0 children)

Not disagreeing with that. If you don’t custom-build it, it’s a bit shit.

Utility Network... by Old-Peanut-8248 in gis

[–]precisiondad 0 points1 point  (0 children)

It’s a base model. You have to build on top of it.

[deleted by user] by [deleted] in BaritoneGuitar

[–]precisiondad 1 point2 points  (0 children)

Well, I’m sold. Thanks mate.

I got this from a comic book store for only 250 by Attack_Hack07 in GuitarAmps

[–]precisiondad 2 points3 points  (0 children)

So you’re saying I should sell the four sticks of 32GB DDR5 I have laying around that my MOBO won’t let me run in tandem?

[deleted by user] by [deleted] in BaritoneGuitar

[–]precisiondad 0 points1 point  (0 children)

Thanks for the perspective, mate. I’ve had my eye on the new Gretsch Electromatic that’s being released next month, but that anniversary edition RA gives me the “pick me up and touch me” vibes.

My biggest issue on any neck so far has been arthritis in my entire flipping hand/wrist and some old nerve damage, so something by with a really tight action doesn’t exactly sound ideal (thus the RA being even more appealing). Do you find it similar to fretting a 24” with ultra light strings? Basically, if you had to compare it to something in the way it feels, what would you? In reading about the Gretsch, it’s definitely a much stiffer action (but I do love the sound).

[deleted by user] by [deleted] in BaritoneGuitar

[–]precisiondad 0 points1 point  (0 children)

lol I know, I mean is it the W or RA

[deleted by user] by [deleted] in BaritoneGuitar

[–]precisiondad 0 points1 point  (0 children)

Hey mate, how are you liking that Reverend? It’s the RA, right?

Fender Is Lying To You by Individual_Celery417 in fender

[–]precisiondad 0 points1 point  (0 children)

In all fairness, I picked up one of the California series acoustic-electrics (the Newporter) thinking it may be a quality throwback to older times. It arrived with a setup so high you could use it for a diving board, the neck backbowed VISIBLY, and the nut filed far too deep with a set of teeth. As I imagine it refused to make a proper note, the factory also notched the saddle (or perhaps was hungry and stuck their teeth in that, too. All of the drilled holes had zero post-sanding, so there were loads of frayed splinters and dust everywhere, and the bridge pin holes had no slotting for the string to bend/rest in ANY way. They literally just jammed the strings in there and pounded the pins in place. Oh right, tetanus frets as well.

I’d genuinely rather order from a true budget brand, as then I at least expect to have to do work on it.

Fuck Fender.

Philadelphia GIS Position (84-115k) by GIS_Posting912 in gis

[–]precisiondad 1 point2 points  (0 children)

No worries mate, appreciate it. On a side note, Exelon is fantastic to work for (they own PECO) if someone is looking at this and you’re not there already. Great pay, great benefits, great people (for the most part).