markdown-rendering
できること
このツールは、Markdownと呼ばれる書式付きのテキストファイルを、cmuxというプログラム内の特定の領域に正しく表示するのに役立ちます。通常はプログラムに問題がある場合でも、テキストが正しく表示されるようにします。
使う場面
- ✓cmuxでMarkdownファイルが空白に見えたり、書式が崩れて表示されたりするとき。
- ✓cmuxの固定された領域にMarkdownファイルを表示したいとき。
- ✓Markdownファイルを開こうとしてエラーになったり、表示がおかしくなったりするとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markdown-rendering/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“cmuxの右側のペインで 'document.md' を開き、書式が正しく表示されるようにしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ツールは、Markdownの表示領域を移動すると空白になるという、よくあるエラーを回避します。ファイルを正しい領域で直接開くか、競合している領域を閉じてからファイルを開き直すことで対処します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Markdown Rendering in cmux
When to Use
- Use when opening Markdown in cmux shows a blank pane or wrong layout.
- Use when you need to display a Markdown file in a stable cmux right pane.
The Problem
cmux markdown open defaults to spawning a brand-new pane every time, even with --direction right. The common "fix" — moving the new markdown surface into the existing right pane with move-surface — bugs out: the moved viewer renders BLANK. The surface keeps type=markdown and looks healthy, but shows nothing.
So you get stuck: either a stray extra pane, or a blank viewer after moving it.
The Rule
The contributor observed two workarounds for a particular cmux version. Verify the installed command/version; the blank-render issue may have changed. Prefer reopening an owned viewer without altering unrelated panes.
Option A — Open it right on the first try
If there is no usable right pane yet, just let cmux create one and leave it where it lands:
cmux markdown open /abs/path/file.md --direction right --focus false
Do NOT then move it. If it spawned where you want it, you're done.
Option B — Close existing right pane(s), then open fresh
If there are other right panes in the way (and they're unused or irrelevant), close them first, then open the markdown fresh as a new right pane:
# 1. find panes in THIS workspace
cmux list-panes --workspace "$CMUX_WORKSPACE_ID"
# 2. close the unused/irrelevant right pane(s) by closing their surfaces
cmux list-pane-surfaces --pane pane:NN
cmux close-surface --surface surface:XX # repeat per surface in that pane
# 3. THEN open the markdown fresh — it creates its own clean right pane
cmux markdown open /abs/path/file.md --direction right --focus false
Hard Rules
- Never
move-surfacea markdown viewer. It renders blank afterward. This is the core bug this skill exists for. - Open it correctly the first time (Option A), OR close the conflicting right pane(s) and open a fresh right pane from scratch (Option B).
- Close only surfaces created for this task or explicitly authorized for closure; apparent irrelevance does not prove they contain no unsaved work.
- Always anchor to
$CMUX_WORKSPACE_ID; never assume the visually focused workspace. - Pass
--focus falseso you don't steal the user's focus. - Use any supported readback/rendered inspection available on the actual host. If it cannot inspect the viewer, report that limit instead of claiming success.
Limitations
- Adapted from
davidondrej/skills; verify local paths, tools, credentials, and agent features before acting. - For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
よくある質問
cmuxでMarkdownファイルが空白に表示されるのはなぜですか?
プログラムがファイル用に新しいペインを作成しようとし、それが移動されるとビューアーが失敗して空白になることがよくあります。このツールは、その問題を回避するように設計されています。
cmuxとは何ですか?
cmuxは、パネルのように複数のウィンドウやワークスペースをコンピュータ上で整理・管理できるプログラムです。
Markdownとは何ですか?
Markdownは、シンプルな記号(太字にするためのアスタリスクなど)を使って書くことで、簡単にWebページや整形された文書に変換できる、シンプルな文章の書き方です。
詳細
作者による元の説明
Open Markdown reliably in cmux panes and recover from blank rendered surfaces.
人気
- GitHubのスター
- 48k
- ランキング
- #5160
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。