跳到主要内容
    ↑↓ 选择↵ 打开esc 关闭
    中文English
    INONONO66

    Agents Local

    v1.0.0其他
    opencode-agents-local

    opencode plugin to load AGENTS.local.md as personal, per-project system instructions

    GitHub 星标

    2

    月装机量

    12

    近 7 天 3

    综合评分SCORE

    20.6

    生态多维模型

    最近提交

    6 个月前

    2026-02-12

    快速安装与配置

    opencode.json

    写入当前项目的 opencode.json,只对这个仓库生效。

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-agents-local@1.0.0"]
    }

    opencode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。

    An opencode plugin that loads AGENTS.local.md from your project directory into the system prompt.

    Use it to inject per-project instructions that stay out of version control — ideal for personal preferences, local overrides, or machine-specific context.

    Install

    Add to your opencode.json:

    {
      "plugin": ["opencode-agents-local"]
    }
    

    Usage

    Create an AGENTS.local.md in your project root:

    <!-- AGENTS.local.md -->
    - Always respond in Korean
    - Use pnpm instead of npm
    - The dev server runs on port 4000
    

    The file contents are automatically appended to the system prompt on every chat.

    Tip: Add AGENTS.local.md to your .gitignore — this is meant for personal, untracked instructions.

    How it works

    On each chat, the plugin:

    1. Looks for AGENTS.local.md in the working directory
    2. If found and non-empty, appends its content to the system prompt
    3. If missing or empty, does nothing (no errors)

    License

    MIT