بنقرة واحدة
mine-for-ideas
Analyze an open-source repo and surface ideas/patterns LifeOS could learn from
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Analyze an open-source repo and surface ideas/patterns LifeOS could learn from
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Full implementation lifecycle with adversarial review using subagents
Address PR review feedback and verify independently
Draft and create a GitHub issue from a description, investigation, or conversation context. Use when a problem is too large for a quick fix, when you want to propose a change for later, or when the user asks to "file an issue", "create an issue", "draft an issue", "open a ticket", or "log this for later". Also useful when another skill (like tune) determines a change is too large and needs to be tracked as an issue instead.
Merge a PR and update upstream GitHub issues with progress
Validate a PR against PR standards before requesting review
Health-check the LifeOS persona layer (files load, /chat matches the Telegram bots per persona, no personal values leak into committed persona files, frontmatter valid) and open every persona doc in Sublime for editing.
| name | mine-for-ideas |
| description | Analyze an open-source repo and surface ideas/patterns LifeOS could learn from |
| argument-hint | <github-url> [context/guidance] |
Arguments: $ARGUMENTS
Parameters:
github-url (required) — Full GitHub URL to the repo, must be the first argument (e.g., https://github.com/org/repo)
context (optional) — Freetext guidance on what to focus on, what to compare, or what questions to answer. Everything after the URL is treated as context. Examples:
pay special attention to their entity resolution approach vs. ourshow do they handle hybrid search? we use ChromaDB + FTS5 via RRFtheir sync pipeline looks interesting, especially incremental indexingIf omitted, analyze the repo holistically for anything relevant to LifeOS.
Project context for understanding what's relevant:
!cat AGENTS.md
You are mining an open-source project for ideas, patterns, and approaches that could benefit LifeOS. This is architectural intelligence — you're comparing engineering worldviews, not listing features. The goal is to understand how another team solved problems we also face, identify where their thinking reveals blind spots in ours, and flag where adopting their approach would create new problems we'd need to solve.
The arguments string starts with a GitHub URL, followed by optional freetext context. Parse them as:
https://github.com/...If no URL is provided, stop and ask for one.
Parse the owner/repo from the URL (e.g., https://github.com/chroma-core/chroma -> chroma-core/chroma).
If context was provided, use it to guide exploration depth and focus areas. The context shapes which parts of the target repo to explore most deeply and which LifeOS specs to compare against. Weave it into the subagent prompts in Steps 2 and 3.
Use a thorough Explore subagent to analyze the target repository. The subagent should:
https://github.com/{owner}/{repo})gh api repos/{owner}/{repo}/contents --jq '.[].name'
gh api repos/{owner}/{repo}/contents/{path} --jq '.content' | base64 -d
If the user provided context/guidance, use it to direct exploration — concentrate on the areas they called out, compare against the aspects they're curious about, and answer the questions they raised. Otherwise, explore broadly and identify what's most relevant to LifeOS.
The subagent should extract:
Use a second subagent to read the relevant LifeOS specs and implementation for the same domain areas. Focus on:
docs/specs/product/docs/specs/technical/docs/adr/api/ and config/The subagent should focus on understanding LifeOS's architectural assumptions and constraints — not just what the code looks like, but what invariants we've committed to (two-tier SourceEntity/PersonEntity model, hybrid search via RRF, local-only data, ChromaDB + FTS5, five-phase sync pipeline, agentic chat with tool calls, macOS-native integrations).
Run both subagents in parallel. Once both complete, produce the analysis below.
Important: Run the exploration and LifeOS context subagents concurrently for efficiency.
This analysis has two parts: understanding (what are the real differences?) and judgment (what should we do about them?). Both matter. Don't skip to recommendations without first building deep understanding.
Produce the following sections. Be direct, specific, and opinionated. Write at the level of an architect who has internalized both systems.
2-3 sentences on what the repo does and its tech stack. Include stars/activity if notable.
This is the most important section. For each major difference between their approach and ours (aim for 3-6):
Don't flatten this into "pros and cons." Each difference reflects a tradeoff rooted in different system constraints. Name those constraints.
For each difference above that initially looks appealing to adopt, stress-test it against LifeOS's constraints. This section is adversarial — it's where you identify what would break or degrade if we naively adopted an appealing pattern.
Think about:
Be specific. "This could cause instability" is not useful. "A new match rule between SourceEntity A and SourceEntity B could transitively merge two previously-separate PersonEntity clusters without user action, changing CRM results for both" is useful.
For each idea worth adopting, explain the adapted version that works within LifeOS's constraints — not the original pattern, but the version that captures the insight while respecting our architectural invariants. Be concrete about:
Areas where LifeOS's approach is already stronger. Reinforces good decisions. Keep this short — 2-3 items max. Explain why our approach is better for our use case, not just that it's different.
A short synthesis (3-5 sentences). State the single biggest architectural insight, whether it warrants an ADR, spec change, or just awareness. If the answer is "nothing to adopt, but this validated our approach," say that.
The analysis should read like an architect's memo, not a feature comparison table. The reader should come away understanding:
Avoid:
After presenting the analysis, ask the user:
Would you like me to create a GitHub issue to track any of these ideas? I can create one tagged with the
idealabel containing the key findings and references.
If the user says yes, ask which ideas to include (or all), then create the issue:
gh issue create \
--title "Idea: [concise title from net recommendation]" \
--label "idea" \
--body "$(cat <<'EOF'
## Source
[Repo Name](github-url) — brief description
## Key Ideas
[Selected ideas from the "What to Adopt" section, with the adapted-for-LifeOS version, not the raw pattern]
## Tradeoffs & Risks
[Key concerns from the tradeoff analysis that must be addressed]
## Suggested Next Step
[ADR, spec change, prototype, or just "keep in mind for when we build X"]
## References
- [Link to specific files/patterns in the source repo]
- [Link to relevant LifeOS specs]
---
*Generated by `/mine-for-ideas`*
EOF
)"
Ensure the idea label exists first:
gh label create idea --description "Ideas mined from external projects" --color "0E8A16" 2>/dev/null || true
Stop and tell the user when:
gh API calls fail (auth, rate limit, or network)