cd /news/large-language-models/llm-devise-a-plan · home topics large-language-models article
[ARTICLE · art-107022] src=perrotta.dev ↗ pub= topic=large-language-models verified=true sentiment=· neutral

LLM: Devise a plan

A developer's blog post suggests that appending 'Devise a plan' to prompts is sufficient for large language models to plan before editing, eliminating the need for dedicated plan modes in tools like OpenCode and Claude Code. The post includes a sample session where the model outlines a step-by-step plan to expand blog post connections to include tag-based links, demonstrating the approach's effectiveness.

read1 min views1 publishedAug 22, 2026

♠ There’s no need for plan mode.

Sandboxing + prompt engineering is enough.

End your prompt with

Devise a plan

…and let the 2026 Gen AI models flow by themselves.

Here’a a sample session:

User:

some of my blog posts e.g. https://perrotta.dev/2026/07/anki-archive-a-deck/ have
"connections"

this is great, but it includes _only_ direct links

I wanted to expand connections to include a couple of posts that share tags too

They should be visually distinct from direct links (direct links should stand out better)

*Devise a plan*

Assistant:

[...]

Current Connections graph reads only backlinks and outlinks. Existing related
data mixes links, tags, categories, and title words. It cannot guarantee two
tag-based results.

 Plan:

 1. Precompute tag connections
     - Add tag_related to ci/precompute_links.py.
     - Select up to two posts with shared tags.
     - Exclude current post, backlinks, and outlinks.
     - Rank by shared-tag count, then newest date.
     - Store post IDs in data/links.json.

 2. Extend mini graph
     - Read tag_related in layouts/partials/mini-graph.html.
     - Keep incoming links on left.
     - Keep outgoing links on right.
     - Place tag connections below current post.
     - Use no arrows because tag relationships have no direction.
     - Include shared tag names in each SVG <title>.

[...]

 6. Verify
     - Add focused tests for ranking, direct-link exclusion, deduplication, and
       fewer-than-two matches.
     - Regenerate data/links.json.
     - Run hugo.
     - Inspect /2026/07/anki-archive-a-deck/ on desktop and mobile.
     - Confirm direct Anki workflow link stands out.
     - Confirm two non-direct Anki/tag posts appear as muted tag connections.
     - Confirm posts without tags or direct links still render correctly.

— § —

Reply via [email](mailto:serendipity@perrotta.dev?subject=Reply to: LLM: Devise a plan)

── more in #large-language-models 4 stories · sorted by recency
── more on @opencode 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/llm-devise-a-plan] indexed:0 read:1min 2026-08-22 ·