Markdown Article Formatter
JimLiu/baoyu-skills
Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.
Unified document generation with tool failure detection, domain knowledge fallback, progressive conversion, and Unicode safety
$ npx skills add HKUDS/OpenSpace --skill resilient-document-pipeline -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HKUDS/OpenSpace resilient-document-pipeline --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/HKUDS/OpenSpace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged .claude/skills/resilient-document-pipeline && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "resilient-document-pipeline" agent skill from https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged into .claude/skills/resilient-document-pipeline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resilient-document-pipeline", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/document-gen-fallback-enhanced-mergedType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add HKUDS/OpenSpace --skill resilient-document-pipeline -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HKUDS/OpenSpace resilient-document-pipeline --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/OpenSpace.git skills-src && mkdir -p .agents/skills && cp -r skills-src/benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged .agents/skills/resilient-document-pipeline && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "resilient-document-pipeline" agent skill from https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged into .agents/skills/resilient-document-pipeline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resilient-document-pipeline", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/OpenSpace --skill resilient-document-pipeline -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HKUDS/OpenSpace resilient-document-pipeline --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/OpenSpace.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged .cursor/skills/resilient-document-pipeline && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "resilient-document-pipeline" agent skill from https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged into .cursor/skills/resilient-document-pipeline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resilient-document-pipeline", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/HKUDS/OpenSpace.git --path benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add HKUDS/OpenSpace --skill resilient-document-pipeline -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HKUDS/OpenSpace resilient-document-pipeline --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/OpenSpace.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged .gemini/skills/resilient-document-pipeline && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "resilient-document-pipeline" agent skill from https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged into .gemini/skills/resilient-document-pipeline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resilient-document-pipeline", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install HKUDS/OpenSpace resilient-document-pipelineInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add HKUDS/OpenSpace --skill resilient-document-pipeline -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/HKUDS/OpenSpace.git skills-src && mkdir -p .github/skills && cp -r skills-src/benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged .github/skills/resilient-document-pipeline && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "resilient-document-pipeline" agent skill from https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged into .github/skills/resilient-document-pipeline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resilient-document-pipeline", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/OpenSpace --skill resilient-document-pipeline -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install HKUDS/OpenSpace resilient-document-pipeline --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/OpenSpace.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged .opencode/skills/resilient-document-pipeline && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "resilient-document-pipeline" agent skill from https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged into .opencode/skills/resilient-document-pipeline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resilient-document-pipeline", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
resilient-document-pipelineUnified document generation with tool failure detection, domain knowledge fallback, progressive conversion, and Unicode safety
Resilient Document Pipeline is an agent skill from HKUDS/OpenSpace. Unified document generation with tool failure detection, domain knowledge fallback, progressive conversion, and Unicode safety
Its SKILL.md is about 4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.
It sits in Documents & Office. The repository describes itself as: "OpenSpace: The Skill Management Layer for AI Agents" -- https://open-space.cloud/. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 3827781. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pandocapt-getpipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Resilient Document Pipeline loads about 4k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 1,089 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from HKUDS/OpenSpace at commit 3827781, republished under its MIT licence (© HKUDS). 1,089 words, ~4,011 tokens.
.claude/skills/resilient-document-pipeline/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use this workflow when generating documents in challenging environments where:
read_file, search_web, read_webpage, or execute_code_sandbox return errors.docx, .pdf, .html from the same sourceThis skill combines early failure detection, domain-knowledge content creation, progressive conversion fallbacks, and Unicode safety into a single resilient workflow.
┌─────────────────────────────────────────────────────────────────┐
│ 1. DETECT tool failures (2+ indicators → pivot immediately) │
└────────────────┬────────────────────────────────────────────────┘
│
┌────────────────▼────────────────────────────────────────────────┐
│ 2. CREATE content with write_file using embedded domain │
│ knowledge (professionally structured markdown) │
└────────────────┬────────────────────────────────────────────────┘
│
┌────────────────▼────────────────────────────────────────────────┐
│ 3. SANITIZE unicode (create LaTeX-safe version for PDF) │
└────────────────┬────────────────────────────────────────────────┘
│
┌────────────────▼────────────────────────────────────────────────┐
│ 4. CONVERT with progressive fallbacks: │
│ pandoc → reportlab → fpdf2 → wkhtmltopdf │
└────────────────┬────────────────────────────────────────────────┘
│
┌────────────────▼────────────────────────────────────────────────┐
│ 5. VERIFY outputs exist and are valid │
└─────────────────────────────────────────────────────────────────┘Before attempting document generation, check for failure indicators:
TOOL_FAILURE_INDICATORS = [
"read_file returns binary/image data instead of text",
"search_web returns unknown error or empty results",
"read_webpage returns unknown error on multiple URLs",
"execute_code_sandbox fails unexpectedly",
"pandoc command fails with 'unknown error'",
"Multiple consecutive tool failures on data retrieval"
]Decision point: If 2+ indicators are present within the first 2-3 iterations:
Write your document as professionally structured Markdown using embedded domain knowledge:
write_file
path: /tmp/document_source.md
content: |
# [Document Title]
## Executive Summary
[Brief overview of key content - use domain knowledge]
## Background
[Context and scope - leverage embedded expertise]
## Main Content
[Organized sections with headers, lists, tables]
## Limitations & Notes
[Transparent about data source limitations if relevant]
## Recommendations/Next Steps
[Actionable guidance based on available information]Best practices for content:
> **Note**: Specific [metric/data point] would typically be sourced from
> [expected source]. The guidance below reflects established best practices.Critical: PDF generation via pandoc typically uses LaTeX, which has limited Unicode support. Create a sanitized version:
write_file
path: /tmp/document_source_sanitized.md
content: |
[Same content as Step 2, but with these replacements:]Character replacement table:
| Character | Issue | Safe Replacement |
|---|---|---|
— (em dash) | May not render | -- or - |
– (en dash) | May not render | - |
" " (curly quotes) | Encoding errors | " " (straight quotes) |
' ' (curly apostrophe) | Encoding errors | ' (straight apostrophe) |
… (ellipsis) | May not render | ... |
→ ← ↑ ↓ (arrows) | LaTeX incompatibility | -> <- ^ v |
✓ ✗ (checkmarks) | May not render | [x] [ ] |
★ ● (symbols) | May not render | * - |
© ® ™ | May require packages | (c) (r) (tm) |
| Non-ASCII letters (é, ñ, ü) | Font-dependent | Use xeLaTeX or keep for non-PDF formats |
run_shell
command: sed -e 's/—/--/g' -e 's/–/-/g' -e 's/"([^"]*)"/"\1"/g' -e "s/'([^']*)/'\1'/g" -e 's/…/.../g' -e 's/→/->/g' -e 's/←/<-/g' -e 's/©/(c)/g' -e 's/®/(r)/g' -e 's/™/(tm)/g' /tmp/document_source.md > /tmp/document_source_sanitized.mdImportant: Keep the original unsanitized file for DOCX/HTML conversion (these formats handle Unicode better).
Use run_shell with progressive fallback strategy. Try each method; if it fails, move to the next.
run_shell
command: pandoc /tmp/document_source.md -o output.docxFallback if pandoc fails:
execute_code_sandbox
code: |
from docx import Document
# Parse markdown and create DOCX with python-docx
# (Implementation depends on complexity needs)Attempt 1 - pandoc with default engine:
run_shell
command: pandoc /tmp/document_source_sanitized.md -o output.pdfAttempt 2 - pandoc with xeLaTeX (better Unicode):
run_shell
command: pandoc /tmp/document_source_sanitized.md -o output.pdf --pdf-engine=xelatexAttempt 3 - pandoc with wkhtmltopdf:
run_shell
command: pandoc /tmp/document_source_sanitized.md -o output.pdf --pdf-engine=wkhtmltopdfAttempt 4 - Python fpdf2 (most reliable fallback):
execute_code_sandbox
code: |
from fpdf import FPDF
import re
# Read sanitized markdown
with open('/tmp/document_source_sanitized.md', 'r') as f:
content = f.read()
# Simple markdown-to-PDF conversion
pdf = FPDF()
pdf.add_page()
pdf.set_font('Arial', '', 12)
# Process content (strip markdown, handle basic formatting)
lines = content.split('\n')
for line in lines:
# Remove markdown syntax
clean = re.sub(r'[#*_`]', '', line)
if clean.strip():
pdf.cell(0, 10, clean, ln=True)
pdf.output('output.pdf')
print('PDF created successfully')Attempt 5 - Python reportlab (alternative):
execute_code_sandbox
code: |
from reportlab.lib.pagesizes import letter
from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer
from reportlab.lib.styles import getSampleStyleSheet
import re
doc = SimpleDocTemplate('output.pdf', pagesize=letter)
styles = getSampleStyleSheet()
story = []
with open('/tmp/document_source_sanitized.md', 'r') as f:
content = f.read()
lines = content.split('\n')
for line in lines:
clean = re.sub(r'[#*_`]', '', line)
if clean.strip():
story.append(Paragraph(clean, styles['Normal']))
story.append(Spacer(1, 6))
doc.build(story)
print('PDF created with reportlab')run_shell
command: pandoc /tmp/document_source.md -o output.htmlFallback if pandoc fails:
execute_code_sandbox
code: |
import markdown
with open('/tmp/document_source.md', 'r') as f:
md_content = f.read()
html_content = markdown.markdown(md_content)
with open('output.html', 'w') as f:
f.write(f'<!DOCTYPE html><html><body>{html_content}</body></html>')Check that files were created successfully and have reasonable sizes:
run_shell
command: ls -lh output.* 2>/dev/null || echo "Some outputs missing"run_shell
command: file output.pdf output.docx output.html 2>/dev/nullValidation criteria:
# Generate Project Status Report
## Step 1: Detect failures (if applicable)
Tool check: read_webpage failed 3x, search_web failed 2x → PIVOT to fallback workflow
## Step 2: Write Markdown source
write_file
path: /tmp/project_status.md
content: |
# Project Status Report
## Executive Summary
This report summarizes project progress using established methodologies.
## Current Status
- Phase 1: Complete
- Phase 2: In Progress (75%)
- Phase 3: Not Started
## Risks & Mitigation
Standard risk framework applied...
## Recommendations
1. Continue current trajectory
2. Schedule stakeholder review
> **Note**: Specific metrics from project management tool were unavailable; guidance reflects standard practices.
## Step 3: Sanitize for PDF
write_file
path: /tmp/project_status_sanitized.md
content: |
[Same content with any special chars replaced per table above]
## Step 4: Convert (try each, proceed on failure)
run_shell
command: pandoc /tmp/project_status.md -o project_status.docx
run_shell
command: pandoc /tmp/project_status_sanitized.md -o project_status.pdf
run_shell
command: pandoc /tmp/project_status.md -o project_status.html
## Step 5: Verify
run_shell
command: ls -lh project_status.*pandoc PDF fails?
├─→ Try --pdf-engine=xelatex
│ └─→ Fails?
│ ├─→ Try --pdf-engine=wkhtmltopdf
│ │ └─→ Fails?
│ │ └─→ Use Python fpdf2 (most reliable)
│ └─→ Success → Done
└─→ Success → Done| Issue | Solution |
|---|---|
| PDF generation fails with encoding error | Use sanitized markdown; try --pdf-engine=xelatex |
| Pandoc not found | Install via apt-get install pandoc or use Python fallbacks |
| LaTeX not found | Use --pdf-engine=wkhtmltopdf or Python fpdf2 |
| DOCX formatting issues | Add --reference-doc=template.docx for custom styles |
| Unicode in any format | Use -f markdown+utf8; ensure UTF-8 encoding with file -i source.md |
| All pandoc commands fail | Fall back to Python libraries (fpdf2, reportlab, python-docx, markdown) |
| Python libraries missing | Install via pip install fpdf2 reportlab python-docx markdown |
| Aspect | Standard Approach | Resilient Pipeline |
|---|---|---|
| Tool failure response | Retry same approach | Detect pattern, pivot immediately |
| Content source | External data only | Embedded domain knowledge when needed |
| Conversion robustness | Single method | Progressive fallbacks (5+ options) |
| Unicode handling | May cause failures | Proactive sanitization |
| Verification | Optional | Built-in validation step |
| Transparency | May hide limitations | Explicit about constraints |
| Do | Don't |
|---|---|
| Pivot after 2+ tool failures | Retry failing tools 5+ times |
| Sanitize before PDF conversion | Send raw Unicode to LaTeX |
| Try multiple conversion methods | Give up after first failure |
| Be transparent about limitations | Claim unverified facts as certain |
| Verify all outputs | Assume files were created |
| Use progressive fallbacks | Hard-code single approach |
After successfully completing the resilient pipeline:
shell_agent delegation firstdocument-gen-fallback-enhanced: Original Unicode-safe fallback (parent)write-file-fallback-report: Domain-knowledge report generation (parent)#!/bin/bash
if [ -z "$1" ]; then echo "Usage: $0 <input.md> [output.md]" exit 1 fi
INPUT="$1" OUTPUT="${2:-${1%.md}_sanitized.md}"
if [ ! -f "$INPUT" ]; then echo "Error: Input file not found: $INPUT" exit 1 fi
sed -e 's/—/--/g'
-e 's/–/-/g'
-e 's/"([^"])"/"\1"/g'
-e "s/'([^'])/'\1'/g"
-e 's/…/.../g'
-e 's/→/->/g'
-e 's/←/<-/g'
-e 's/↑/^^/g'
-e 's/↓/vv/g'
-e 's/✓/[x]/g'
-e 's/✗/[ ]/g'
-e 's/★/*/g'
-e 's/●/-/g'
-e 's/©/(c)/g'
-e 's/®/(r)/g'
-e 's/™/(tm)/g'
"$INPUT" > "$OUTPUT"
echo "Sanitized: $INPUT -> $OUTPUT" echo "Verify with: diff $INPUT $OUTPUT" *** Add File: convert_with_fallbacks.sh #!/bin/bash
if [ -z "$1" ] || [ -z "$2" ]; then echo "Usage: $0 <input.md> <pdf|docx|html>" exit 1 fi
INPUT="$1" FORMAT="$2" BASENAME="${INPUT%.*}" OUTPUT="${BASENAME}.${FORMAT}"
echo "Converting $INPUT to $FORMAT..."
if [ "$FORMAT" = "pdf" ]; then echo "Attempt 1: pandoc default" if pandoc "$INPUT" -o "$OUTPUT" 2>/dev/null; then echo "Success with pandoc default" exit 0 fi
echo "Attempt 2: pandoc with xeLaTeX" if pandoc "$INPUT" -o "$OUTPUT" --pdf-engine=xelatex 2>/dev/null; then echo "Success with xeLaTeX" exit 0 fi
echo "Attempt 3: pandoc with wkhtmltopdf" if pandoc "$INPUT" -o "$OUTPUT" --pdf-engine=wkhtmltopdf 2>/dev/null; then echo "Success with wkhtmltopdf" exit 0 fi
echo "Attempt 4: Python fpdf2" if python3 -c " from fpdf import FPDF import re pdf = FPDF() pdf.add_page() pdf.set_font('Arial', '', 12) with open('$INPUT', 'r') as f: for line in f: clean = re.sub(r'[#*_`]', '', line) if clean.strip(): pdf.cell(0, 10, clean.strip(), ln=True) pdf.output('$OUTPUT') " 2>/dev/null; then echo "Success with fpdf2" exit 0 fi
echo "All PDF conversion methods failed" exit 1
elif [ "$FORMAT" = "docx" ]; then echo "Attempt 1: pandoc" if pandoc "$INPUT" -o "$OUTPUT" 2>/dev/null; then echo "Success with pandoc" exit 0 fi
echo "Pandoc failed for DOCX - consider Python fallback (python-docx)" exit 1
elif [ "$FORMAT" = "html" ]; then echo "Attempt 1: pandoc" if pandoc "$INPUT" -o "$OUTPUT" 2>/dev/null; then echo "Success with pandoc" exit 0 fi
echo "Attempt 2: Python markdown"
if python3 -c "
import markdown
with open('$INPUT', 'r') as f:
content = f.read()
html = markdown.markdown(content)
with open('$OUTPUT', 'w') as f:
f.write(f'<!DOCTYPE html><html><body>{html}</body></html>')
" 2>/dev/null; then
echo "Success with markdown library"
exit 0
fi
echo "All HTML conversion methods failed" exit 1
else echo "Unknown format: $FORMAT (use pdf, docx, or html)" exit 1 fi
© HKUDS, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged of HKUDS/OpenSpace.
Open the folder on GitHubat commit 3827781
Resilient Document Pipeline next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Resilient Document Pipeline this skillHKUDS/OpenSpace | 7.8k | — | ~4k | Automated safety check: Pass | MIT | |
| Markdown Article FormatterJimLiu/baoyu-skills | 27k | 6 repos | ~3.5k | Automated safety check: Pass | MIT | |
| MarkitdownImCa0/just-laws | 781 | 14 repos | ~3.2k | Automated safety check: Notes | MIT | |
| Obsidian MarkdownAtmosphere/atmosphere | 3.8k | 20 repos | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| DOCXrvdbreemen/OTGW-firmware | 207 | 33 repos | ~4.3k | Automated safety check: Pass | Proprietary | |
| Word Document Reader and WriterHKUDS/DeepTutor | 41k | — | ~2.5k | Automated safety check: Pass | Apache-2.0 |
JimLiu/baoyu-skills
Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
Atmosphere/atmosphere
Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.
rvdbreemen/OTGW-firmware
A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).
HKUDS/DeepTutor
Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.
wasp-lang/wasp
Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.
HKUDS/OpenSpace
Walks through producing a master audio track plus stems in Python, from checking a reference file and timing sections by BPM to effects, a zip archive and final verification.
HKUDS/OpenSpace
Handle cascading data retrieval tool failures by falling back to embedded knowledge generation
HKUDS/OpenSpace
Gives an agent a workaround when its code-execution sandbox keeps failing: save the Python script to a file and run it through the shell instead.
HKUDS/OpenSpace
A recovery routine for agents whose sandboxed code runner keeps failing: save the Python script to disk, then run it through the shell and read the output.
HKUDS/OpenSpace
Fallback ladder for failed sandboxed code runs, plus the habit of fixing the working directory first so generated files land in the right place.
HKUDS/OpenSpace
Fallback workflow for executing Python code when executecodesandbox fails repeatedly
Categories
Unified document generation with tool failure detection, domain knowledge fallback, progressive conversion, and Unicode safety. Resilient Document Pipeline is an agent skill from HKUDS/OpenSpace.
Resilient Document Pipeline fits situations like: documents & Office work in your project.
Run `npx skills add HKUDS/OpenSpace --skill resilient-document-pipeline -a claude-code`. Or copy the skill folder (benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged in HKUDS/OpenSpace) into .claude/skills/resilient-document-pipeline in your project. Claude Code loads it when a task matches its description.
Run `npx skills add HKUDS/OpenSpace --skill resilient-document-pipeline -a codex`. Or copy the skill folder (benchmarks/gdpval/skills/document-gen-fallback-enhanced-merged in HKUDS/OpenSpace) into .agents/skills/resilient-document-pipeline in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/OpenSpace --skill resilient-document-pipeline -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/resilient-document-pipeline, .gemini/skills/resilient-document-pipeline, .github/skills/resilient-document-pipeline and .opencode/skills/resilient-document-pipeline in your project.
Going by SKILL.md and its folder, Resilient Document Pipeline needs the command-line tools its instructions call (pandoc, apt-get and pip). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Resilient Document Pipeline is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Resilient Document Pipeline: Markdown Article Formatter (JimLiu/baoyu-skills, 27k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and DOCX (rvdbreemen/OTGW-firmware, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
HKUDS (a GitHub organization) maintains it in HKUDS/OpenSpace, which has 7,754 GitHub stars. The repository holds 199 skills in this directory. The repository was last updated on August 12, 2026.
Source: HKUDS/OpenSpace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.