I made LLMs think spatially before generating prompts

dilidin1 pts0 comments

GitHub - dilidin2/tic: TIC (Taken In Consideration) is a skill for AI agents that forces systematic cascade-thinking: atomic decomposition, recursive consequence analysis, spatial/reality stress-testing, and gap identification — addressing LLMs' innate weakness in physical and spatial reasoning. Proven across image generation, creative writing, and system design. · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

dilidin2

tic

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

master

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>3 Commits<br>3 Commits

ProofOfConcept

ProofOfConcept

README.md

README.md

SKILL.md

SKILL.md

View all files

Repository files navigation

TIC — Taken In Consideration

TIC — Output

Non-TIC — Output

Both images generated with Z-Image-Base 8bit — same prompt idea, different reasoning depth.

What Is TIC?

TIC (Taken In Consideration ) is a cascade-thinking methodology implemented as a skill for AI agents. It gives LLMs an additional layer of systematic reasoning focused on exhaustive consideration of all possible cases, consequences, and edge scenarios before any execution begins.

The core problem it addresses: LLMs lack innate spatial and physical reasoning . They default to happy-path thinking and frequently miss edge cases, spatial contradictions, physical consequences, and cascading effects of decisions. TIC forces the model to decompose a task atomically, cascade every element through all possible scenarios, cross-check intersections, and stress-test against reality — before producing any output.

Proof of Concept

This repository contains initial proof-of-concept tests comparing outputs with and without TIC across three domains:

Domain<br>Files<br>What to compare

Image Generation<br>ProofOfConcept/ImageGeneration/<br>Prompts + generated images — spatial coherence, perspective correctness, physical plausibility

Creative Writing<br>ProofOfConcept/Writing/<br>Two short stories from the same prompt — narrative consistency, cause-and-effect logic

Coding / System Design<br>ProofOfConcept/Coding/<br>Architecture designs for a restaurant reservation system — edge case coverage, concurrency handling

⚠️ Note: All test prompts and responses are written in Italian . Use your AI agent of choice to translate and understand the results.

Test Setup

All tests were run under identical conditions to ensure fair comparison:

Harness: pi — the same coding agent environment for both runs

Model: Qwen 3.6 27B (fine-tuned variant from Hugging Face) — same model, same session config

Variables: The only difference is whether or not the TIC skill was loaded and triggered

Preliminary Findings

The number of tests is small and more are needed for statistical significance. However, even in these initial analyses:

Spatial coherence in image generation prompts is significantly higher with TIC — the model correctly reasons about perspective, lighting direction, anatomical orientation, and environmental context before writing the prompt

Writing outputs show stronger cause-and-effect chains and fewer narrative inconsistencies

Coding designs cover substantially more edge cases (concurrency, failure modes, boundary conditions) without being explicitly asked

The difference is most visible in image generation, where TIC's reality-checking phase directly translates into prompts that produce spatially consistent results.

How to Use

TIC is distributed as a skill. Load SKILL.md into your agent and trigger it with phrases like:

"usa TIC"

"think with TIC"

"considerazione TIC"

It will run through the 5-phase cascade (Decompose → Cascade → Cross-Check → Stress-Test → Identify Gaps) before producing any deliverable.

License

TBD

About

TIC (Taken In Consideration) is a skill for AI agents that forces systematic cascade-thinking: atomic decomposition, recursive consequence analysis, spatial/reality stress-testing, and gap identification — addressing LLMs' innate weakness in physical and spatial reasoning. Proven across image generation, creative writing, and system...

skill spatial cascade image writing llms

Related Articles