agentleFS
magery-aimagery-ai/triz-skill/portable/AGENTS.md

triz-skill / portable

AGENTS.md2 starsChanged 43 days agoMITView on GitHub

This is the compact version of the TRIZ skill for agents that read a rules file (AGENTS.md, Cursor rules, Copilot instructions, Windsurf, Cline) but cannot load skills. The full skill is in https://github.com/magery-ai/triz-skill. If skills/triz/SKILL.md is available, use it instead of this file. Use these rules when the user faces a trade-off or a stuck problem ("improving A makes B worse", "it must be both X and not X"), or asks for TRIZ, the 40 inventive principles or the contradiction…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,117 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

10 rules. About 0 are common, 10 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    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
  1. Distinctive:

    Use these rules when the user faces a trade-off or a stuck problem ("improving A makes B worse", "it must be both X and not X"), or asks …

    line 11
  2. Distinctive:

    Ask one question at a time and wait for the answer.

    line 19
  3. Distinctive:

    Never skip the contradiction check.

    line 20
  4. Distinctive:

    Always cite principles by number and name, for example "#10 Preliminary action".

    line 24
  5. Distinctive:

    Intake: Ask at most two clarifying questions: what the target is, and what was tried and can't change.

    line 30
  6. Distinctive:

    Directions: Look up the matrix cell (row = improving parameter, column = worsening parameter).

    line 38
  7. Distinctive:

    Validation: Ask at most two Socratic questions, one at a time, such as "Who would object to this, and why?" or "What happens if this goes …

    line 46
  8. Distinctive:

    If the user says "just give me options", ask at most one question, do one combined check for stages 1 and 2, and let them skip validation.

    line 54
  9. Distinctive:

    Read the data from the repository.

    line 80
  10. Distinctive:

    If you can do neither, say so and use the principles you know, marking each one as not checked against the matrix.

    line 94

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

TRIZ problem solving (compact rules)

This is the compact version of the TRIZ skill for agents that read a rules file (AGENTS.md, Cursor rules, Copilot instructions, Windsurf, Cline) but cannot load skills. The full skill is in https://github.com/magery-ai/triz-skill. If skills/triz/SKILL.md is available, use it instead of this file.

When to use

Use these rules when the user faces a trade-off or a stuck problem ("improving A makes B worse", "it must be both X and not X"), or asks for TRIZ, the 40 inventive principles or the contradiction matrix. Do not use them for factual questions, plain execution tasks or problems with an obvious answer.

Rules

  1. Ask one question at a time and wait for the answer.
  2. Never skip the contradiction check. A wrong contradiction invalidates everything after it.
  3. Principles are directions, not answers. Every action must use something from the user's situation: a resource, a constraint, a person or a tool.
  4. Always cite principles by number and name, for example "#10 Preliminary action". Explain a TRIZ term the first time you use it.
  5. Aim for a plan in about 5-8 user replies. Ask more only when the user asks.

Stages

  1. Intake. Ask at most two clarifying questions: what the target is, and what was tried and can't change. Restate the problem, the Ideal Final Result ("the system does X by itself, at no extra cost") and the resources. Check: the user confirms the restatement.
  2. Contradiction. Name the conflict as "improving A worsens B", map A and B to two of the 39 TRIZ parameters, and give the physical form when there is one ("E must be P and not-P"). Check: the user picks or corrects it. You can ask the stage 1 and stage 2 checks together.
  3. Directions. Look up the matrix cell (row = improving parameter, column = worsening parameter). If A or B fits two parameters, read both cells and lead with principles that appear in both. If the cell is empty, try the reverse cell, then the closest neighbour parameter. For a physical contradiction, also try separation in time, in space, on condition, and between the system and its parts. Pick 3-6 principles.
  4. Actions. Turn each principle into a concrete step that uses the user's resources. Rank the options and recommend the top 2-3.
  5. Validation. Ask at most two Socratic questions, one at a time, such as "Who would object to this, and why?" or "What happens if this goes wrong?". Check: the user approves an option. A new conflict sends you back to stage 2; a missing constraint sends you back to stage 4.
  6. Plan. Give the short plan below in chat. If you can write files, save a fuller version, with the analysis and the validation log, to triz-plans/YYYY-MM-DD-<slug>.md in the user's project.

If the user says "just give me options", ask at most one question, do one combined check for stages 1 and 2, and let them skip validation. If no human can answer (you are a subagent or stuck mid-task), answer the checks yourself and list every assumption you made. Then give the caller enough engineering detail to act without redoing your work: break the metric into its parts and measure them first, order the steps from no-risk to risky (including obvious expert fixes no principle points to), show the path from today's number to the target with its margin, and say how to verify the change before switching.

Short plan

**Short plan: <problem in 6 words>**
**Contradiction:** improving <A> worsens <B> (<physical form, if any>)
**Chosen solution:** <one sentence> (principles #<n> <name>, #<m> <name>)
**Next steps:**
1. <action> (<who>, <by when>)
2. <action> (<who>, <by when>)
3. <action> (<who>, <by when>)
**Resources:** <what exists>; new: <anything new and its cost, or "nothing new">
**Watch for:** <top risk>: <signal and threshold>, then <what to do>
**Done when:** <metric> <target> by <date>

Data

Read the data from the repository. If it is not on disk, fetch the raw files:

If you can do neither, say so and use the principles you know, marking each one as not checked against the matrix. Never invent a matrix value.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.