diff --git a/agent-sources.lock.json b/agent-sources.lock.json new file mode 100644 index 0000000..9327a5e --- /dev/null +++ b/agent-sources.lock.json @@ -0,0 +1,681 @@ +{ + "generatedBy": "agent-lib", + "schemaVersion": 1, + "sources": { + "m3ta-agents": { + "discovery": { + "agents": { + "include": [ + "**/AGENT.md" + ], + "paths": [ + "agents" + ] + }, + "prompts": { + "include": [ + "**/PROMPT.md" + ], + "paths": [ + "prompts" + ] + }, + "skills": { + "include": [ + "**/SKILL.md" + ], + "paths": [ + "skills" + ] + }, + "tools": { + "include": [ + "**/TOOL.md" + ], + "paths": [ + "tools" + ] + } + }, + "items": { + "agents": {}, + "prompts": {}, + "skills": { + "agent-development": { + "entry": "skills/agent-development/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "(opencode - Skill) Create and configure agents for Opencode. Use when: (1) creating a new agent, (2) adding agents to agents.json or opencode.json, (3) configuring agent permissions, (4) setting up primary vs subagent modes, (5) writing agent system prompts, (6) understanding agent triggering. Triggers: create agent, add agent, agents.json, subagent, primary agent, agent permissions, agent configuration, agent prompt.", + "name": "agent-development", + "requires": [], + "tags": [] + }, + "path": "skills/agent-development" + }, + "basecamp-project": { + "entry": "skills/basecamp-project/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Use when: (1) setting up a new Basecamp project, (2) turning an idea or plan into a reviewed project launch package, (3) creating Basecamp task lists, kickoff messages, project briefs, check-ins, or launch structure, (4) stress-testing project scope, timeline, roles, risks, and feasibility before Basecamp launch. Triggers: create Basecamp project, setup project in Basecamp, project kickoff, project plan to Basecamp, launch project.", + "name": "basecamp-project", + "requires": [], + "tags": [] + }, + "path": "skills/basecamp-project" + }, + "brainstorming": { + "entry": "skills/brainstorming/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "General-purpose ideation and strategic thinking. Use when: (1) clarifying thoughts on any topic, (2) exploring options and trade-offs, (3) building strategies or plans, (4) making decisions with multiple factors, (5) thinking through problems. Triggers: brainstorm, think through, explore options, clarify, what are my options, help me decide, strategy for, how should I approach.", + "name": "brainstorming", + "requires": [], + "tags": [] + }, + "path": "skills/brainstorming" + }, + "changelog": { + "entry": "skills/changelog/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Automate changelog generation from commits, PRs, and releases following Keep a Changelog format. Use when setting up release workflows, generating release notes, or standardizing commit conventions.", + "name": "changelog", + "requires": [], + "tags": [] + }, + "path": "skills/changelog" + }, + "doc-translator": { + "entry": "skills/doc-translator/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Translates external documentation websites to specified language(s) and publishes to Outline wiki. Use when: (1) Translating SaaS/product documentation into German or Czech, (2) Publishing translated docs to Outline wiki, (3) Re-hosting external images to Outline. Triggers: 'translate docs', 'translate documentation', 'translate to German', 'translate to Czech', 'publish to wiki', 'doc translation', 'TEEM translation'.", + "name": "doc-translator", + "requires": [], + "tags": [] + }, + "path": "skills/doc-translator" + }, + "excalidraw": { + "entry": "skills/excalidraw/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Create Excalidraw diagram JSON files that make visual arguments. Use when: (1) user wants to visualize workflows, architectures, or concepts, (2) creating system diagrams, (3) generating .excalidraw files. Triggers: excalidraw, diagram, visualize, architecture diagram, system diagram.", + "name": "excalidraw", + "requires": [], + "tags": [] + }, + "path": "skills/excalidraw" + }, + "grill-me": { + "entry": "skills/grill-me/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions \"grill me\".", + "name": "grill-me", + "requires": [], + "tags": [] + }, + "path": "skills/grill-me" + }, + "mem0-memory": { + "entry": "skills/mem0-memory/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "DEPRECATED: Replaced by opencode-memory plugin. See skills/memory/SKILL.md for current memory system.", + "name": "mem0-memory", + "requires": [], + "tags": [] + }, + "path": "skills/mem0-memory" + }, + "obsidian": { + "entry": "skills/obsidian/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Obsidian Local REST API integration for knowledge management. Use when: (1) Creating, reading, updating, or deleting notes in Obsidian vault, (2) Searching vault content by title, content, or tags, (3) Managing daily notes and journaling, (4) Working with WikiLinks and vault metadata. Triggers: 'Obsidian', 'note', 'vault', 'WikiLink', 'daily note', 'journal', 'create note'.", + "name": "obsidian", + "requires": [], + "tags": [] + }, + "path": "skills/obsidian" + }, + "outline": { + "entry": "skills/outline/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Outline wiki integration for knowledge management and documentation workflows. Use when Opencode needs to interact with Outline for: (1) Creating and editing documents, (2) Searching and retrieving knowledge base content, (3) Managing document collections and hierarchies, (4) Handling document sharing and permissions, (5) Collaborative features like comments. Triggers: 'Outline', 'wiki', 'knowledge base', 'documentation', 'team docs', 'document in Outline', 'search Outline', 'Outline collection'.", + "name": "outline", + "requires": [], + "tags": [] + }, + "path": "skills/outline" + }, + "pdf": { + "entry": "skills/pdf/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When the Coding Agent needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.", + "name": "pdf", + "requires": [], + "tags": [] + }, + "path": "skills/pdf" + }, + "plan-writing": { + "entry": "skills/plan-writing/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Use when you have a spec or requirements for a multi-step task, before touching code", + "name": "plan-writing", + "requires": [], + "tags": [] + }, + "path": "skills/plan-writing" + }, + "prompt-engineering-patterns": { + "entry": "skills/prompt-engineering-patterns/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production. Use when optimizing prompts, improving LLM outputs, or designing production prompt templates.", + "name": "prompt-engineering-patterns", + "requires": [], + "tags": [] + }, + "path": "skills/prompt-engineering-patterns" + }, + "qmd": { + "entry": "skills/qmd/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Knowledge retrieval and memory system via qmd (Query Markup Documents). Use when: (1) Searching knowledge vault for relevant context, (2) Storing memories, decisions, preferences from sessions, (3) Auto-recall of relevant context at session start, (4) Writing session summaries, (5) Querying past decisions or project context. Triggers: 'remember', 'recall', 'search vault', 'what did we decide', 'session summary', 'qmd', 'knowledge', 'memory', 'context'.", + "name": "qmd", + "requires": [], + "tags": [] + }, + "path": "skills/qmd" + }, + "reflection": { + "entry": "skills/reflection/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Conversation analysis to improve skills based on user feedback. Use when: (1) user explicitly requests reflection ('reflect', 'improve', 'learn from this'), (2) reflection mode is ON and clear correction signals detected, (3) user asks to analyze skill performance. Triggers: reflect, improve, learn, analyze conversation, skill feedback. Toggle with /reflection on|off command.", + "name": "reflection", + "requires": [], + "tags": [] + }, + "path": "skills/reflection" + }, + "skill-creator": { + "entry": "skills/skill-creator/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Guide for creating effective Opencode Agent Skills. Use this when users want to create a new skill (or update an existing skill) that extends Opencode's capabilities with specialized knowledge, workflows, or tool integrations.", + "name": "skill-creator", + "requires": [], + "tags": [] + }, + "path": "skills/skill-creator" + }, + "systematic-debugging": { + "entry": "skills/systematic-debugging/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes", + "name": "systematic-debugging", + "requires": [], + "tags": [] + }, + "path": "skills/systematic-debugging" + }, + "xlsx": { + "entry": "skills/xlsx/SKILL.md", + "licenseFiles": [], + "metadata": { + "description": "Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When the Coding Agent needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas", + "name": "xlsx", + "requires": [], + "tags": [] + }, + "path": "skills/xlsx" + } + }, + "tools": {} + }, + "narHash": "sha256:7cca53dff2e26b7aeab5c6548d3efd135198ee42f1af81c2300d05e400330ff4", + "ref": null, + "rev": "b6e1aaa6261c5056d024d8d4785659eaa4e675e6", + "root": ".", + "type": "git", + "url": "https://code.m3ta.dev/m3tam3re/AGENTS", + "warnings": [] + }, + "mattpocock": { + "discovery": { + "agents": { + "include": [ + "**/AGENT.md" + ], + "paths": [ + "agents" + ] + }, + "prompts": { + "include": [ + "**/PROMPT.md" + ], + "paths": [ + "prompts" + ] + }, + "skills": { + "include": [ + "**/SKILL.md" + ], + "paths": [ + "skills" + ] + }, + "tools": { + "include": [ + "**/TOOL.md" + ], + "paths": [ + "tools" + ] + } + }, + "items": { + "agents": {}, + "prompts": {}, + "skills": { + "caveman": { + "entry": "skills/productivity/caveman/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": ">", + "name": "caveman", + "requires": [], + "tags": [] + }, + "path": "skills/productivity/caveman" + }, + "design-an-interface": { + "entry": "skills/deprecated/design-an-interface/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions \"design it twice\".", + "name": "design-an-interface", + "requires": [], + "tags": [] + }, + "path": "skills/deprecated/design-an-interface" + }, + "diagnose": { + "entry": "skills/engineering/diagnose/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says \"diagnose this\" / \"debug this\", reports a bug, says something is broken/throwing/failing, or describes a performance regression.", + "name": "diagnose", + "requires": [], + "tags": [] + }, + "path": "skills/engineering/diagnose" + }, + "edit-article": { + "entry": "skills/personal/edit-article/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.", + "name": "edit-article", + "requires": [], + "tags": [] + }, + "path": "skills/personal/edit-article" + }, + "git-guardrails-claude-code": { + "entry": "skills/misc/git-guardrails-claude-code/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.", + "name": "git-guardrails-claude-code", + "requires": [], + "tags": [] + }, + "path": "skills/misc/git-guardrails-claude-code" + }, + "grill-me": { + "entry": "skills/productivity/grill-me/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions \"grill me\".", + "name": "grill-me", + "requires": [], + "tags": [] + }, + "path": "skills/productivity/grill-me" + }, + "grill-with-docs": { + "entry": "skills/engineering/grill-with-docs/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.", + "name": "grill-with-docs", + "requires": [], + "tags": [] + }, + "path": "skills/engineering/grill-with-docs" + }, + "handoff": { + "entry": "skills/productivity/handoff/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Compact the current conversation into a handoff document for another agent to pick up.", + "name": "handoff", + "requires": [], + "tags": [] + }, + "path": "skills/productivity/handoff" + }, + "improve-codebase-architecture": { + "entry": "skills/engineering/improve-codebase-architecture/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.", + "name": "improve-codebase-architecture", + "requires": [], + "tags": [] + }, + "path": "skills/engineering/improve-codebase-architecture" + }, + "migrate-to-shoehorn": { + "entry": "skills/misc/migrate-to-shoehorn/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.", + "name": "migrate-to-shoehorn", + "requires": [], + "tags": [] + }, + "path": "skills/misc/migrate-to-shoehorn" + }, + "obsidian-vault": { + "entry": "skills/personal/obsidian-vault/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.", + "name": "obsidian-vault", + "requires": [], + "tags": [] + }, + "path": "skills/personal/obsidian-vault" + }, + "prototype": { + "entry": "skills/engineering/prototype/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Build a throwaway prototype to flesh out a design before committing to it. Routes between two branches — a runnable terminal app for state/business-logic questions, or several radically different UI variations toggleable from one route. Use when the user wants to prototype, sanity-check a data model or state machine, mock up a UI, explore design options, or says \"prototype this\", \"let me play with it\", \"try a few designs\".", + "name": "prototype", + "requires": [], + "tags": [] + }, + "path": "skills/engineering/prototype" + }, + "qa": { + "entry": "skills/deprecated/qa/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Interactive QA session where user reports bugs or issues conversationally, and the agent files GitHub issues. Explores the codebase in the background for context and domain language. Use when user wants to report bugs, do QA, file issues conversationally, or mentions \"QA session\".", + "name": "qa", + "requires": [], + "tags": [] + }, + "path": "skills/deprecated/qa" + }, + "request-refactor-plan": { + "entry": "skills/deprecated/request-refactor-plan/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Create a detailed refactor plan with tiny commits via user interview, then file it as a GitHub issue. Use when user wants to plan a refactor, create a refactoring RFC, or break a refactor into safe incremental steps.", + "name": "request-refactor-plan", + "requires": [], + "tags": [] + }, + "path": "skills/deprecated/request-refactor-plan" + }, + "review": { + "entry": "skills/in-progress/review/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/PRD asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to \"review since X\".", + "name": "review", + "requires": [], + "tags": [] + }, + "path": "skills/in-progress/review" + }, + "scaffold-exercises": { + "entry": "skills/misc/scaffold-exercises/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.", + "name": "scaffold-exercises", + "requires": [], + "tags": [] + }, + "path": "skills/misc/scaffold-exercises" + }, + "setup-matt-pocock-skills": { + "entry": "skills/engineering/setup-matt-pocock-skills/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's issue tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-issues`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the issue tracker, triage labels, or domain docs.", + "name": "setup-matt-pocock-skills", + "requires": [], + "tags": [] + }, + "path": "skills/engineering/setup-matt-pocock-skills" + }, + "setup-pre-commit": { + "entry": "skills/misc/setup-pre-commit/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.", + "name": "setup-pre-commit", + "requires": [], + "tags": [] + }, + "path": "skills/misc/setup-pre-commit" + }, + "tdd": { + "entry": "skills/engineering/tdd/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions \"red-green-refactor\", wants integration tests, or asks for test-first development.", + "name": "tdd", + "requires": [], + "tags": [] + }, + "path": "skills/engineering/tdd" + }, + "teach": { + "entry": "skills/in-progress/teach/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Teach the user a new skill or concept, within this workspace.", + "name": "teach", + "requires": [], + "tags": [] + }, + "path": "skills/in-progress/teach" + }, + "to-issues": { + "entry": "skills/engineering/to-issues/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.", + "name": "to-issues", + "requires": [], + "tags": [] + }, + "path": "skills/engineering/to-issues" + }, + "to-prd": { + "entry": "skills/engineering/to-prd/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Turn the current conversation context into a PRD and publish it to the project issue tracker. Use when user wants to create a PRD from the current context.", + "name": "to-prd", + "requires": [], + "tags": [] + }, + "path": "skills/engineering/to-prd" + }, + "triage": { + "entry": "skills/engineering/triage/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Triage issues through a state machine driven by triage roles. Use when user wants to create an issue, triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.", + "name": "triage", + "requires": [], + "tags": [] + }, + "path": "skills/engineering/triage" + }, + "ubiquitous-language": { + "entry": "skills/deprecated/ubiquitous-language/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to UBIQUITOUS_LANGUAGE.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions \"domain model\" or \"DDD\".", + "name": "ubiquitous-language", + "requires": [], + "tags": [] + }, + "path": "skills/deprecated/ubiquitous-language" + }, + "write-a-skill": { + "entry": "skills/productivity/write-a-skill/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.", + "name": "write-a-skill", + "requires": [], + "tags": [] + }, + "path": "skills/productivity/write-a-skill" + }, + "writing-beats": { + "entry": "skills/in-progress/writing-beats/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.", + "name": "writing-beats", + "requires": [], + "tags": [] + }, + "path": "skills/in-progress/writing-beats" + }, + "writing-fragments": { + "entry": "skills/in-progress/writing-fragments/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Grilling session that mines the user for fragments — heterogeneous nuggets of writing (claims, vignettes, sharp sentences, half-thoughts) — and appends them to a single document as raw material for a future article. Use when the user wants to develop ideas before imposing structure, or mentions \"fragments\", \"ideate\", or \"raw material\" for writing.", + "name": "writing-fragments", + "requires": [], + "tags": [] + }, + "path": "skills/in-progress/writing-fragments" + }, + "writing-shape": { + "entry": "skills/in-progress/writing-shape/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.", + "name": "writing-shape", + "requires": [], + "tags": [] + }, + "path": "skills/in-progress/writing-shape" + }, + "zoom-out": { + "entry": "skills/engineering/zoom-out/SKILL.md", + "licenseFiles": [ + "LICENSE" + ], + "metadata": { + "description": "Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.", + "name": "zoom-out", + "requires": [], + "tags": [] + }, + "path": "skills/engineering/zoom-out" + } + }, + "tools": {} + }, + "narHash": "sha256:e61c575015dca998709776014f52317e29b49aca42659b635dbc69fb60a7f9e1", + "ref": null, + "rev": "e3b90b5238f38cdea5996e16861dcae28ef52eda", + "root": ".", + "type": "git", + "url": "https://github.com/mattpocock/skills", + "warnings": [] + } + } +} diff --git a/flake.lock b/flake.lock index 1a79e37..d3abe23 100644 --- a/flake.lock +++ b/flake.lock @@ -42,6 +42,23 @@ "type": "github" } }, + "agent-lib": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1780128063, + "narHash": "sha256-4qfphsBI6nc+U74z2e4EMpISssDqp+20+cw8rN7G88Q=", + "path": "/home/m3tam3re/p/NIX/agent-lib", + "type": "path" + }, + "original": { + "path": "/home/m3tam3re/p/NIX/agent-lib", + "type": "path" + } + }, "agents": { "inputs": { "nixpkgs": "nixpkgs_2" @@ -1243,6 +1260,7 @@ "root": { "inputs": { "agenix": "agenix", + "agent-lib": "agent-lib", "agents": "agents", "disko": "disko", "hermes-agent": "hermes-agent", diff --git a/flake.nix b/flake.nix index 422a286..48a307c 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + agent-lib = { + url = "path:/home/m3tam3re/p/NIX/agent-lib"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + agents = { # url = "path:/home/m3tam3re/p/AI/AGENTS"; url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/AGENTS"; diff --git a/hosts/m3-kratos/agent-lib.nix b/hosts/m3-kratos/agent-lib.nix new file mode 100644 index 0000000..3d0085d --- /dev/null +++ b/hosts/m3-kratos/agent-lib.nix @@ -0,0 +1,21 @@ +{ + programs.agent-lib = { + enable = true; + lockFile = ../../agent-sources.lock.json; + + targets.pi.enable = true; + targets.opencode.enable = true; + + # profiles.default.sources.mattpocock.skills.all = true; + profiles.default = { + sources.mattpocock = { + skills = { + all = true; + # Provided by the existing shared skills set; duplicate Home Manager + # entries under .agents/skills cannot be installed safely. + exclude = ["grill-me" "caveman"]; + }; + }; + }; + }; +} diff --git a/hosts/m3-kratos/home.nix b/hosts/m3-kratos/home.nix index 8244c17..c6a2569 100644 --- a/hosts/m3-kratos/home.nix +++ b/hosts/m3-kratos/home.nix @@ -4,10 +4,16 @@ # m3ta-home via the profile mapping in hosts/common/users/m3tam3re.nix. { config, + inputs, lib, ... }: with lib; { + imports = [ + inputs.agent-lib.homeManagerModules.default + ./agent-lib.nix + ]; + config = mkMerge [ # ── XDG / MIME defaults ── {