Skip to content
Agentmart
Submit a tool

align-markdown-tables

Align (pretty-print) GFM pipe tables so columns line up.

Skill by tregusti

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tregusti-align-markdown-tables

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Align (pretty-print) GFM pipe tables so columns line up. Use after you create or edit a markdown table in any file, or when the user asks to align/format/tidy a markdown table.

Use cases: documents, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/align-markdown-tables

What's inside

Skill name
align-markdown-tables
Description
Align (pretty-print) GFM pipe tables so columns line up. Use after you create or edit a markdown table in any file, or when the user asks to align/format/tidy a markdown table.
License
MIT
Instructions
21 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • align_tables.py

SKILL.md (first lines)

Run the bundled script on the file(s) containing the table, then read the result
back so the edit reflects the aligned version.

```
python3 "$SKILL_DIR/align_tables.py" <file>...
```

`$SKILL_DIR` is this skill's directory. Pass one or more file paths; the script
rewrites each in place, aligning every pipe table it finds and leaving all other
lines untouched.

The script preserves each column's alignment marker (`:---` left, `---:` right,
`:---:` center) and justifies cell contents to match. It only touches pipe-line
blocks that contain a separator row, so stray lines starting with `|` are left
alone. It is idempotent — running it on an already-aligned table changes
nothing.

Completion criterion: the script printed `aligned: <file>` for every file you
passed, and the table in the file now has columns that line up.

From tregusti/skills, MIT.

Signals

Stars
0
Forks
0
Open issues
1
Last commit (this folder)
Aug 18, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from tregusti

Cite this page

align-markdown-tables skill. Agent Mart. https://agentmart.dev/skills/tregusti-align-markdown-tables (last updated 2026-10-24)