comol/ai_rules_1c/img-grid-analysis
Claude Code and agent skill by comol/ai_rules_1c
- community
Checking that the SKILL.md file is still in the repository.
Overlay a numbered grid on an image to determine column proportions for layout generation. Use when creating MXL spreadsheet layouts from screenshots or scanned print forms.
Install
npx vskill@latest install comol/ai_rules_1c/img-grid-analysisSKILL.md
Image Grid Analysis — Grid Overlay for Layout Design
Usage
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
| ImagePath | yes | — | Path to image (PNG, JPG) | |
| -c COLS | no | 50 | Number of vertical divisions | |
| -r ROWS | no | auto | Number of horizontal divisions (auto = square cells) | |
| -o OUTPUT | no | <name>-grid.<ext> | Output path |
Command
<skill-dir> below is the directory of this skill: content/skills/img-grid-analysis/ in the 1c-rules source repo, or <tool>/skills/img-grid-analysis/ after installation (e.g. .cursor/skills/img-grid-analysis/).
Requires Python 3 with Pillow library (pip install Pillow).
What It Does
- Draws semi-transparent vertical (red) and horizontal (blue) lines
- Numbers lines in separate fields at top and left (does not overlap content)
- Every 5th and 10th line is brighter for easier counting
How to Use the Result
1. Determine Column Boundaries
Look at the gridded image and note vertical boundary coordinates of each table column (in grid line numbers).
2. Find the Base Grid
If the form has multiple tables with different layouts (e.g., document header and main table), combine all boundary points. Each segment between adjacent boundaries is one MXL column.
Example for form M-11:
- Header: boundaries 0, 2, 4, 9, 14, 21, 28, 34, 40, 48
- Table: boundaries 0, 2, 4, 11, 16, 19, 23, 28, 32, 36, 42, 48
- Union: 0, 2, 4, 9, 11, 14, 16, 19, 21, 23, 28, 32, 34, 36, 40, 42, 48
- Result: 16 base columns with proportions 2, 2, 5, 2, 3, 2, 3, 2, 2, 5, 4, 2, 2, 4, 2, 6
3. Write in JSON DSL
The "page" field allows the compiler to automatically calculate absolute widths from proportions.
4. Compile
1c-mxl-compile → 1c-mxl-validate → 1c-mxl-info
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcontent/skills/img-grid-analysis/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/comol/ai_rules_1c/img-grid-analysis)