بنقرة واحدة
insight-linker
Connects recent Memex insights to GitHub projects by opening issues or PRs with actionable suggestions
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Connects recent Memex insights to GitHub projects by opening issues or PRs with actionable suggestions
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Author one loop-harness planning ticket in the format the implement-ticket loop consumes. Use when asked to plan a feature, scope a change, draft a ticket, or turn a described problem into a ticket the loop can run. Writes one ticket file to the configured plans directory.
Run one planning ticket through the loop lifecycle - perceive (ledger + git reconcile), implement tests-first, gate via `loopctl stamp`, self-review, adversarial review, commit, close via `loopctl finish`. Use when asked to implement the next ticket, run the loop, or continue autonomous ticket implementation.
Generate static artwork/illustrations for a repo with Nano Banana Pro (aka "nano banana", Gemini 3 Pro Image) via the bundled generate_art.py — craft a detailed prompt, run the script, view the result, iterate. Use this whenever the user wants to create, generate, or regenerate a visual asset for a project: an architecture diagram, portrait, card/illustration, icon, splash, or any image that lands as a PNG in the repo — even if they don't name the tool or just say "make me an image / a picture of X". Do NOT trigger for application runtime image needs, or for editing source code rather than producing an image file.
Remove a solid background from an image and write a transparent PNG, using the bundled remove_background.py. Use this whenever the user wants to knock out, drop, or make transparent the background of a logo, banner, icon, or other static image asset in a repo, or to trim an asset to its content and pad it. Pairs with generate-art: generate a flat asset, then key its background here. Do NOT trigger for photo cutouts needing subject segmentation, for runtime image processing, or for editing source code rather than an image file.
Teach the user a new codebase, technology, framework, or system by walking through it from high-level architecture down to implementation details using a paginated, layered approach. Use this skill whenever the user wants to understand how something works, needs onboarding onto a new technology, asks you to explain a system end-to-end, or says things like "walk me through", "explain how X works", "I need to learn X", "teach me", or "help me understand". Also use when the user shares documentation and asks to be taught from it.
Write or refactor project documentation — tutorials, how-to guides, reference pages, and explanation articles — using the Diátaxis framework. Enforces strict mode purity (a tutorial is not a how-to is not a reference is not an explanation), Orwell's six rules for clear prose, and a ladder-of-abstraction rhythm where concrete examples open and close each piece. Targets HUMAN readers — not agents — so emphasizes plain, everyday English over jargon. Use whenever the user asks to write, draft, refactor, edit, improve, or polish documentation — phrases like "write a tutorial", "draft a how-to", "turn this into a reference", "document this feature", "rewrite this doc", "improve the README", "add user docs", "document the API", "explain how X works for newcomers", or any task that produces user-facing prose for a software project. Triggers even when the user does not say "Diátaxis" explicitly — any doc-writing or doc-refactoring task gets this lens.
استنادا إلى تصنيف SOC المهني
| name | insight-linker |
| description | Connects recent Memex insights to GitHub projects by opening issues or PRs with actionable suggestions |
| version | 1.1.0 |
| metadata | {"hermes":{"tags":["knowledge","github","insights","automation"],"category":"knowledge"}} |
Activate on a schedule to scan recent Memex notes (blog posts, articles, research) and create GitHub issues or PRs when an insight contains an actionable technique, tool, pattern, or best practice applicable to a target repository.
JasperHG90)owner/repo pairs to suggest improvements for (default: JasperHG90/skills)memex_*). Do not shell out to curl for Memex calls. (GitHub API access still uses gh/curl.)For each repo in the github_repos list:
memex_kv_get(key="app:hermes:insight-linker:repo:<owner>/<repo>:context")
gh CLI or GitHub API to get:
memex_kv_write(
key="app:hermes:insight-linker:repo:<owner>/<repo>:context",
value="<summary + ISO timestamp>"
)
Build a mental map of what each project does and what kind of insights would be relevant.
memex_kv_get(key="app:hermes:insight-linker:last_run")
memex_retrieve_notes(
query="engineering techniques tools patterns best practices",
after="<lookback_date>"
)
memex_kv_list(prefix="app:hermes:insight-linker:processed:")
If no new notes remain, skip to Phase 5.
For each unprocessed note:
memex_read_note(note_id=<id>) (only when total_tokens < 500). Otherwise get page indices first, then batch-fetch nodes:memex_get_page_indices(note_ids=["<note_id>"])
memex_get_nodes(node_ids=["<node_id_1>", "<node_id_2>"])
Extract actionable insights. An insight is actionable if it describes:
For each actionable insight, match it to one or more target repos:
Skip if:
For each valid match, draft an issue (or PR):
insight-linker to all created issues for traceability.gh label create "insight-linker" --color "7057ff" --description "Suggested by the Insight Linker skill" --repo "{owner}/{repo}" --force
gh issue list --repo "{owner}/{repo}" --label "insight-linker" --state open
Skip if a similar issue already exists.
gh issue create --repo "{owner}/{repo}" --title "{title}" --body "{body}" --label "insight-linker"
Only create a PR when the change is:
Prefer issues over PRs. Only create a PR when you are confident the change is correct and complete. If any step fails, fall back to creating an issue instead.
memex_kv_write(
key="app:hermes:insight-linker:processed:<note_id>",
value="<action>:<ISO-timestamp>"
)
Where action is issue, pr, or skipped.
memex_kv_write(key="app:hermes:insight-linker:last_run", value="<ISO-timestamp>")
memex_kv_write(key="app:hermes:insight-linker:last_issues", value="<count>")
When you encounter errors during your run (GitHub API rate limits, repo not found, issue creation failures, Memex search failures), delegate to a subagent with the /post-mortem skill describing the issue. Include what went wrong, the root cause if identifiable, and a suggested fix. Do NOT report clean runs or "no new insights found."
insight-linker label filter is the deduplication mechanism.app:hermes:insight-linker: -- do not use the old app:openfang:insight-linker: prefix.