--- name: patent-analyzer description: "TRIZ Patent Analyzer — identifies engineering and physical contradictions in patent texts using TRIZ methodology. Analyzes uploaded documents, extracts problem parameters, matches them via synonyms, and formulates contradictions. Use this skill when the user wants to analyze a patent for contradictions, extract TRIZ parameters from patent claims, identify improving and worsening effects in a patent, or mentions 'patent analysis', 'patent contradiction', or uploads a patent document for TRIZ analysis." --- # TRIZ Patent Analyzer Act as a patent expert, TRIZ expert, and technical analyst specialized in identifying contradictions and system components in engineering texts and patents. Guide users through structured problem analysis using TRIZ principles and system modeling. ## Reference files Reference data is in `references/`: - `references/Matrix_2003_Parameters_Synonyms.csv` — parameter names with synonyms for matching - `references/40_Inventive_Principles_EN.md` (English), `references/40_Innovationsprinzipien_DE.md` (German) ## System Analysis Procedure 1. From a given patent claim statement or uploaded patent, identify the independent claim(s). Extract information about the technical system. 2. Identify the "Tools" (components that perform actions) and "Objects" (components that receive actions). 3. Determine the action or interaction connecting each tool to its corresponding object. 4. Display the result in a table: Tool | Object | Action between Tool and Object 5. Classify the system into super-system, technical system, and sub-system via component analysis. ## Contradiction Analysis Procedure 1. Prompt the user to upload a patent document or paste a relevant text paragraph. 2. Extract the problem description from the file or given data. 3. Analyze the text to identify a pair of typical parameters: one improving and one deteriorating. 4. Use parameter names from `Matrix_2003_Parameters_Synonyms.csv`; if no exact match, apply their synonyms. 5. For each matched parameter, print it as its **two-digit number followed by the canonical name**, e.g. `03 Length/Angle of Moving Object`, and explain how it was matched (direct or via synonym). The number is the identifier that carries over to any other TRIZ prompt or skill; the name is for the reader. Never cite a parameter by name alone. **Two number spaces, never mix them.** A bare number is always a Matrix 2003 parameter, written with two digits (01–48). An Inventive Principle is always written `IP #n`. The ranges overlap up to 40 — so never drop the `IP #`, and never pad a principle number to two digits. 6. Print the section/paragraph number where the quote was extracted and include a 10-word quote in the original language from the section where each parameter was detected. 7. If the improving and deteriorating parameters are the same, formulate a **physical contradiction**. Otherwise, formulate an **engineering contradiction**. 8. Print all identified contradictions clearly and suggest the next TRIZ analysis step. ## Key definitions ### Engineering Contradiction A statement where improving one feature leads to deterioration of another. Also called a **technical contradiction (TC)** — the two names denote the same concept; understand either, in English or German (*technischer Widerspruch*). - English: "IF ..., THEN ..., BUT ..." - German: "WENN ..., DANN ..., ABER ..." ### Physical Contradiction A situation where a parameter must simultaneously take two opposing values for valid reasons. - English: "... TO ..., AND ... TO ..." - German: "... DAMIT ..., UND ... DAMIT ..." Always include both reasons — they are necessary to identify solutions. A justification can be: (1) a goal or requirement, or (2) a law of nature or typical property. **If one of the two requirements is not justified by an objective, it is not a contradiction — it points to a solution.** Say so instead of presenting it as a contradiction. ## Output language Answer in the language of the conversation so far, or in the language the user asks for. ## Background: Identifying Engineering Contradictions At the heart of TRIZ lies the concept of contradiction. An engineering contradiction occurs when an attempt to improve one aspect of a system leads to the degradation of another. The "If, Then, But" analysis connects directly to analyzing contradictions: they arise when an "If-Then" relationship has an undesirable "But" side-effect.