Markdown Converter
Agent skill for markdown-converter
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a collection of utility scripts and tools, primarily in Python and C. The repository contains standalone tools for various development tasks including binary patching, markdown processing, DLL analysis, image slideshow viewing, and code evaluation.
The Python scripts are installable as a package from the upyscripts directory:
pip install -e ./upyscripts
This installs the following command-line tools with
upy. prefix:
upy.applydiff - Apply binary patch DIF filesupy.asm_emit - Convert binary to Visual C++ __asm __emit statementsupy.dll2proj - Convert DLL to Visual Studio project with function stubs (requires pefile)upy.file_upload - File upload utilityupy.ghview - GitHub-style local repository browser with syntax highlightingupy.html_entities - Escape HTML entitiesupy.jsonutils - JSON utility tool (beautify, minify, validate, tree view, query)upy.markdown_render - Render Markdown to HTML on localhostupy.mdcomdec - Decompose/recompose Markdown filesupy.mksctxt - Convert Markdown to styled PNG images with syntax highlightingupy.parse_vcf - Parse VCF contact filesupy.pdf3img - Convert PDF pages to imagesupy.preprocess - Preprocessing utilityupy.pyast - Analyze Python AST (functions, classes, imports)upy.qslideshow - Cross-platform image slideshow viewer with web serverupy.src2llm - Convert codebase to LLM-friendly Markdownupy.dlcalc - Calculate and visualize daylight hours and sunset timesThe
python/ directory contains standalone tools not integrated into upyscripts:
eval_cpp/ - Evaluate C/C++ expression snippets using CMake compilationThe C projects use CMake and are Windows/MSVC-specific:
Build with:
cmake -B build cmake --build build
For building and using the Triton DBA framework:
tritonenv/triton.env with dependency pathstritonenv.bat init-triton build64 from Triton sourcetritonenv.bat init build64/upyscripts/ - Main Python package with installable CLI tools
upyscripts/ - Source code for all Python utilitiesupyscripts/lib/ - Reusable library modules (files, markdown)upyscripts/dll2proj/ - DLL to Visual Studio project converterupyscripts/qslideshow/ - Image slideshow viewer with PWA web interfaceupyscripts/tests/ - Unit tests for library modules/python/ - Legacy standalone Python tools
eval_cpp/ - C++ expression evaluator using CMake/c/ - C language projects (Windows/MSVC specific)
codecave/ - Static code cave demonstrationshellcode_loader/ - Shellcode loading example/batch/ - Windows batch scripts (jsonbeauty.bat)/tritonenv/ - Triton DBA framework environment setup (Windows)# Install the upyscripts package (from repository root) pip install -e ./upyscripts # Install with development dependencies pip install -e ./upyscripts[dev]
# Run tests from upyscripts directory cd upyscripts python -m pytest tests/ # Run specific test file python -m pytest tests/test_mdparser.py python -m pytest tests/test_find_latest.py
# Format code with black (if installed) black upyscripts/ # Run linting flake8 upyscripts/ # Type checking mypy upyscripts/
The
upyscripts package uses setuptools with pyproject.toml configuration. All CLI tools are defined as console script entry points with the upy. prefix. The package follows this architecture:
upyscripts/ with a main() functionupyscripts/lib/ with proper submodules