agentleFS
ImmortalqxImmortalqx/my_codex_skills/figure-description/SKILL.md

figure-description

Skill54 starsChanged 5 months agoMITView on GitHub

Process user-provided patent figures and generate formal drawing descriptions. Use when user says \"附图处理\", \"figure description\", \"附图说明\", \"drawings description\", or wants to describe patent figures with reference numerals.

5 other projects use a version of this, 5 of them edited.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • 10

    Common

    Most of the 5 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Common:

    Search the project directory for figure files:

    line 28
  2. Very specific:

    Check patent/figures/, figures/, root directory

    line 29
  3. Common:

    Look for PNG, JPG, SVG, PDF files

    line 30
  4. Very specific:

    Check INVENTION_BRIEF.md or INVENTION_DISCLOSURE.md for figure references

    line 31
  5. Very specific:

    If figures are missing that claims require, note them as [MISSING: description needed]

    line 33
  6. Common:

    Identify flow: If it's a flowchart or sequence, what is the step order?

    line 42
  7. Common:

    Write formal drawing descriptions (附图说明):

    line 58
  8. Common:

    Create a complete mapping:

    line 76
  9. Common:

    Verify that every claim element has at least one reference numeral:

    line 94
  10. Very specific:

    If any claim element has no corresponding figure or numeral, flag it: - [MISSING FIGURE: Need a diagram showing {element description}] - …

    line 100
  11. Common:

    Every component in every figure must have a reference numeral.

    line 125
  12. Common:

    Every reference numeral must be explained in the specification.

    line 126
  13. Common:

    If the same component appears in multiple figures, use the SAME numeral.

    line 128
  14. Common:

    Do NOT modify user-provided figures -- only describe them.

    line 129

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “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
SKILL.md

Figure Description for Patents

Process patent figures and generate drawing descriptions based on: $ARGUMENTS

This skill processes user-provided technical diagrams and assigns reference numerals.

Constants

  • FIGURE_DIR = "patent/figures/" — Output directory for figure descriptions
  • REFERENCE_NUMERAL_PREFIX = 100 — Starting numeral for first figure's components
  • NUMERAL_SERIES = 100 — Each figure uses a separate 100-series (Fig 1: 100-199, Fig 2: 200-299, etc.)

Inputs

  1. User-provided figures (PNG, JPG, SVG, PDF) — search for them in the project directory
  2. patent/INVENTION_DISCLOSURE.md — for understanding what components to identify
  3. patent/CLAIMS.md — for mapping numerals to claim elements

Workflow

Step 1: Discover Figures

  1. Search the project directory for figure files:
    • Check patent/figures/, figures/, root directory
    • Look for PNG, JPG, SVG, PDF files
    • Check INVENTION_BRIEF.md or INVENTION_DISCLOSURE.md for figure references
  2. List all discovered figures with their paths
  3. If figures are missing that claims require, note them as [MISSING: description needed]

Step 2: Analyze Each Figure

For each figure found:

  1. Read the image using the Read tool (supports image files)
  2. Identify components: What labeled or visually distinct components are shown?
  3. Identify connections: How do components relate to each other?
  4. Identify flow: If it's a flowchart or sequence, what is the step order?

Step 3: Assign Reference Numerals

For each figure, assign numerals using the series convention:

FigureNumeral Range
FIG. 1100-199
FIG. 2200-299
FIG. 3300-399

For each identified component: - Assign the next available numeral in the series - Cross-reference to the claim elements it supports - Note if a component appears in multiple figures (use same numeral across figures)

Step 4: Generate Drawing Descriptions

Write formal drawing descriptions (附图说明):

For CN jurisdiction (Chinese):

图1是[发明名称]的系统结构示意图;
图2是[发明名称]的方法流程图;
图3是[具体组件]的详细结构示意图;

For US/EP jurisdiction (English):

FIG. 1 is a block diagram illustrating the system architecture according to one embodiment;
FIG. 2 is a flowchart illustrating the method steps according to one embodiment;
FIG. 3 is a detailed view of the processing module of FIG. 1;

Step 5: Generate Reference Numeral Index

Create a complete mapping:

## Reference Numeral Index

| Numeral | Component Name | Figure(s) | Claim Element |
|---------|---------------|-----------|---------------|
| 100 | System | FIG. 1 | Claim X preamble |
| 102 | Processor | FIG. 1 | Claim X, element 1 |
| 104 | Memory | FIG. 1 | Claim X, element 2 |
| 106 | Communication bus | FIG. 1 | Claim X, element 3 |
| 200 | Method | FIG. 2 | Claim 1 preamble |
| 202 | Receiving step | FIG. 2 | Claim 1, step 1 |
| 204 | Processing step | FIG. 2 | Claim 1, step 2 |

Step 6: Cross-Reference to Claims

Verify that every claim element has at least one reference numeral:

Claim ElementFigureNumeralStatus
[element][which fig][numeral]Covered / [MISSING]

If any claim element has no corresponding figure or numeral, flag it: - [MISSING FIGURE: Need a diagram showing {element description}] - [MISSING NUMERAL: Component {name} in figure {X} needs a numeral]

Step 7: Output

Write patent/figures/figure_descriptions.md:

## Figure Descriptions

### FIG. 1 — [Description]
[Formal one-paragraph description with all reference numerals]

### FIG. 2 — [Description]
[Formal one-paragraph description with all reference numerals]
...

Write patent/figures/numeral_index.md:

## Reference Numeral Index

[Complete table of all numerals, components, figures, and claim mappings]

Key Rules

  • Every component in every figure must have a reference numeral.
  • Every reference numeral must be explained in the specification.
  • Numeral series must be consistent: 100-series for FIG. 1, 200-series for FIG. 2.
  • If the same component appears in multiple figures, use the SAME numeral.
  • Do NOT modify user-provided figures -- only describe them.
  • Flag missing figures that the claims require but the user has not provided.
  • Drawing descriptions are one sentence each, in a consistent format.

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.