tikoci/rosetta · Archived

re-extract

Re-extract the legacy Confluence RouterOS documentation export into SQLite. Use for rebuilding the current DB pipeline, not for the manual.mikrotik.com Docusaurus migration.

First seen Jun 22, 2026

Installation

$ npx skills add tikoci/rosetta --skill re-extract

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 20
License LICENSE
Default branch main
Open issues 23
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,367 B
  • docs SUMMARY.md 191 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Re-extract Legacy Documentation Pipeline

When to Use

  • A legacy Confluence HTML export is available
  • Database needs rebuilding from scratch
  • Schema changes require fresh extraction
  • New RouterOS versions available in restraml GitHub Pages

Do not use this skill as the migration path for <https://manual.mikrotik.com>;. MikroTik's new Docusaurus manual and CLI Reference require extractor and MCP/TUI result-shape redesign; read DESIGN.md and briefings/B-0012-docusaurus-manual-migration.md first.

Procedure

  1. Verify prerequisites

- Bun is installed: bun --version - Dependencies installed: bun install - Legacy HTML export exists in box/documents-export-*/ROS/ - For commands: internet access to https://tikoci.github.io/restraml/ (or provide a local docs path explicitly)

  1. Clean existing database

``sh make clean ``

  1. Run full pipeline (choose one)

Single version (fast, latest stable only): ``sh make extract ``

All versions (slower, all 46 RouterOS versions): ``sh make extract-full ``

Pipeline order: - extract-html — HTML → pages + callouts tables - extract-properties — Property tables from HTML → properties table - extract-commands or extract-all-versions — inspect.json → commands + rosversions + commandversions - link — command ↔ page mapping

  1. Verify results

``sh make search query="firewall filter" `` Expected counts (full pipeline): - ~317 pages, ~4860 properties, ~1034 callouts - ~40K commands (primary version), ~1.67M commandversions - 46 rosversions, ~92% dir link coverage

  1. Validate with type check and lint

``sh bun run typecheck && make lint ``

Troubleshooting

  • If HTML directory changed, update HTML_DIR in the root Makefile
  • If using offline/local data, pass explicit source paths to extract-commands.ts or extract-all-versions.ts
  • Each extractor is idempotent — safe to re-run individually
  • FK deletion order matters: callouts → properties → pages