task-relationship-analysis
Skill1 starsChanged 5 months agoMITView on GitHub
Use BEFORE executing any multi-step or multi-feature request (3+ tasks). Forces a pre-execution pass that maps how the tasks relate — synergies, conflicts, shared substrate, ordering — so you don't mechanically execute them in listed order and miss that several should be built on one shared piece, or that two conflict. Scaffolds a pairwise matrix + synthesis checklist.
In this repository42 other files it gives its agents.
- codex/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- new-hookSkill
- new-ruleSkill
- new-skillSkill
- publishSkill
- agent-config-adapterSkill
- agent-update-watcherSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- claude-desktop-sessionsSkill
- code-verifierSkill
- doc-writingSkill
- end-of-turn-markerSkill
- figma-authoring-constraintsSkill
- figma-design-fetchSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- code-verifierSkill
- linux-freeze-triageSkill
- long-running-tasksSkill
- preview-templateSkill
- privacy-redactSkill
- research-criticSkill
- agent-harness-generalSkill
- system-cleanupSkill
- verify-templateSkill
- verify-visualSkill
- init-codex-configSkill
- long-running-tasksSkill
- memory-flywheelSkill
- preview-templateSkill
- privacy-redactSkill
- prompt-librarySkill
- research-criticSkill
- system-cleanupSkill
- task-orchestratorSkill
- feature-audit-templateSkill
- workflow-fix-templateSkill
- tui-installerSkill
- verify-templateSkill
- verify-visualSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Only THEN execute — in the order the DAG implies, unifying what the matrix flagged.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
task-relationship-analysis
Overhaul task 15. Some agents/models execute a numbered task list mechanically, in order, and miss the cross-task picture — e.g. three separate "add a sub-agent" asks that should be one framework, or two tasks that conflict if done independently. This skill makes the relationship analysis a required first step.
When
Any request with 3+ tasks, or multiple logically separable features, before you start executing.
Do this first
- List the tasks, then scaffold the analysis:
It emits every unordered pair exactly once (nothing skipped) + a synthesis checklist.python3 scripts/scaffold.py "task A" "task B" "task C" … # or pipe one per line on stdin - Fill each pair with one relationship: SYN (synergy / share substrate) · CONF (conflict) · SEQ (ordering dependency) · INDEP (independent).
- Answer the checklist: shared substrate to unify · conflicts to resolve in design · mergeable work · ordering/DAG from the SEQ pairs · cross-cutting constraints to do first.
- Only THEN execute — in the order the DAG implies, unifying what the matrix flagged.
Why deterministic scaffold + LLM analysis
scaffold.py is pure code: it guarantees the shape and that every pair is considered. The model does the
actual judgement (which pair is SYN vs CONF). LLM-as-component, not the core.
Example payoff (this repo's own overhaul)
The 16-point overhaul's matrix surfaced that tasks 2/3/10a (three "sub-agent" asks) were the SAME framework,
and tasks 3/4/5 were ONE memory subsystem — recorded in docs/strategy/…/00-program-plan.md §3 before any
code. That is the analysis this skill scaffolds.
Status: v0.1 (pairwise matrix + checklist), tested (test_scaffold.py, 6/6). Planned: auto-ingest a task
list from a plan file; a graph export of the SEQ edges.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

