feat: bridge RTK + MarkItDown as external agent tools#12
Closed
Delqhi wants to merge 1 commit into
Closed
Conversation
Mirrors the GitNexus bridge pattern for two more best-in-class upstream tools (never vendored; installed/updated independently): - markitdown.py (MIT): wire the markitdown-mcp MCP server into OpenCode, Codex and Hermes (uvx markitdown-mcp), plus a 'sin markitdown convert' CLI wrapper and a markitdown_convert tool in 'sin serve'. - rtk.py (Apache-2.0): drive upstream 'rtk init' per agent so shell commands are routed through RTK's token-saving proxy (60-90% fewer tokens). Adds 'sin rtk setup|doctor|gain'. - Extend 'sin status' to report both external tools. - docs/EXTERNAL_TOOLS.md + README section documenting the bridge matrix. - Tests: test_markitdown.py, test_rtk.py (subprocess/which stubbed, CI-safe). Full suite: 36 passed. Stacked on the GitNexus bridge (#11).
This was referenced May 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extends the external-tool bridge pattern (introduced for GitNexus in #11) to two more upstream tools. Stacked on #11 — review/merge that first; base will retarget to main automatically once #11 merges.
MarkItDown (MIT) — document context
markitdown-mcpMCP server wired into OpenCode/Codex/Hermes viauvx markitdown-mcp. Alsosin markitdown convert <file>and amarkitdown_converttool insin serve. Lets agents read PDFs/Office/images as Markdown.RTK (Apache-2.0) — token-saving proxy
Not an MCP server:
sin rtk setupdrives upstreamrtk initper agent (--opencode,--codex,--agent hermes) so shell-command output is compressed 60-90% before hitting context. Addssin rtk doctor|gain.Also
sin statusnow reports both tools' availability.docs/EXTERNAL_TOOLS.md+ README matrix.Tests
test_markitdown.py+test_rtk.py(subprocess/PATH stubbed, CI-safe). Full suite: 36 passed.