Token导航 LogoToken导航

Agent Skill · 研究检索

ai-context-writer(AI 上下文编写器)

ai-context-writer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ai-context-writer 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 56,831。

总安装 445周安装 18GitHub Stars 公开资料未说明下载 140核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ai-context-writer(AI 上下文编写器)
来源仓库:https://github.com/front-depiction/claude-setup
仓库路径:skills/ai-context-writer
安装命令:
npx skills add front-depiction/claude-setup --skill "ai-context-writer"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add front-depiction/claude-setup --skill "ai-context-writer"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

发现并安装 AI 代理的技能。ai-context-writer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合在 Codex、Claude、Cursor、Gemini CLI 中扩展 Agent 能力时使用。通过 github 安装,需确认宿主环境兼容性。建议结合仓库路径查看具体技能实现。

注意是否会触发联网或外部服务调用。

来源仓库内路径:skills/ai-context-writer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add front-depiction/claude-setup --skill "ai-context-writer";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ai-context-writer 怎么安装?

在终端执行 npx skills add front-depiction/claude-setup --skill "ai-context-writer"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ai-context-writer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ai-context-writer 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add front-depiction/claude-setup --skill "ai-context-writer" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

ai-context-writer 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ai-context-writer 用的人多吗?

公开数据是累计安装 445 次,近一周安装 18 次,下载 140 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ai-context-writer 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
ai-context-writer

AI 上下文编写器 · 本页

445—执行命令MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
ai-context-writer
description
Create and update ai-context.md files that document modules for AI assistants. Use when adding documentation for packages, apps, or external references that should be discoverable via /modules commands.

AI Context Writer Skill

Use this skill when creating or updating ai-context.md files that document modules in the codebase. These files are indexed by the context-crawler and surfaced via /modules, /module, and /module-search commands.

File Location

Context files must be named exactly ai-context.md and placed at the root of the module:

packages/my-package/ai-context.md    # Internal module
apps/my-app/ai-context.md            # Internal module
.context/external-lib/ai-context.md  # External reference (submodule)

Required Structure

Frontmatter (YAML)

---
path: packages/my-package
summary: One-line description mentioning purpose and key technologies
tags: [effect, http-client, sdk-wrapper]
---

Frontmatter Fields:

  • path - Module identifier (relative path from repo root)
  • summary - Single sentence, concise description for module listings
  • tags - Optional categorization for search (technologies, domains)

Markdown Body Sections

# Module Name

High-level overview paragraph explaining the module's purpose.

## Architecture

┌──────────────────┐
│    Component     │
└──────────────────┘
        │
        ▼
┌──────────────────┐
│     Service      │
└──────────────────┘

Brief explanation of the architecture diagram.

## Core Modules

| Module | Purpose |
|--------|---------|
| `Service.ts` | Main service implementation |
| `Client.ts` | HTTP client wrapper |

## Usage Patterns

### Basic Usage

import * as MyModule from "@/packages/my-package" import { Effect } from "effect"

const program = Effect.gen(function* () { const service = yield* MyModule.Service return yield* service.doThing() })


## Key Patterns

### Pattern Name

Description of when and why to use this pattern.

// Example code


## Design Decisions

**AD-1: Decision Title**
Explanation of the decision and trade-offs.

**AD-2: Another Decision**
Why this approach was chosen over alternatives.

## Dependencies

- `effect` - Core Effect library
- `@effect/platform` - Platform abstractions

## Spec Reference

- [specs/my-feature/DESIGN.md](../specs/my-feature/DESIGN.md)

Section Guidelines

Architecture Diagram

Use simple ASCII box-and-arrow diagrams:

┌──────────────┐     ┌──────────────┐
│   Service    │────▶│    Client    │
└──────────────┘     └──────────────┘
        │
        ▼
┌──────────────┐
│   Repository │
└──────────────┘

Characters: ┌ ┐ └ ┘ │ ─ ▼ ▲ ◀ ▶ ────▶

Core Modules Table

Quick reference for key files:

| Module | Purpose |
|--------|---------|
| `ParallelClient.ts` | HTTP client with Effect integration |
| `ParallelRun.ts` | Async task execution |
| `Errors.ts` | Tagged error types |

Usage Patterns

Always include:

  • Full imports with namespace pattern (import * as X)
  • Effect.gen for effectful code
  • Layer construction if services are involved
import * as MyService from "@/packages/my-service"
import { Effect, Layer } from "effect"

const program = Effect.gen(function* () {
  const svc = yield* MyService.Service
  return yield* svc.operation()
})

const live = program.pipe(
  Effect.provide(MyService.Live)
)

Design Decisions

Use AD-N format for traceability:

**AD-1: Use Effect.gen over flatMap chains**
Effect.gen provides cleaner syntax and better stack traces. The generator pattern
makes sequential operations readable without callback nesting.

**AD-2: Schema.TaggedStruct for all domain types**
Automatic discriminator and Data equality support. Enables pattern matching
with Match.typeTags.

Dependencies

List external packages the module depends on:

## Dependencies

- `effect` - Core Effect types and functions
- `@effect/platform` - FileSystem, HttpClient, Terminal
- `@effect/schema` - Runtime validation and serialization

Summary Writing

The summary is critical - it appears in /modules listings.

Good summaries:

  • "Effect wrapper for Parallel AI SDK - web search, content extraction, and async task runs"
  • "React frontend with Effect-Atom state management and TanStack Router"
  • "SQLite-backed workflow engine for durable execution patterns"

Bad summaries:

  • "A module for doing stuff" (too vague)
  • "This is the main package that handles various functionality" (no specifics)

Summary formula: [Primary purpose] - [key feature 1], [key feature 2], and [key feature 3]

Discovery and Indexing

Context files are indexed by context-crawler.ts:

  1. Recursively finds all ai-context.md files
  2. Extracts frontmatter (path, summary, tags)
  3. Falls back to first paragraph if no summary
  4. Excludes node_modules, .git, dist, build, .turbo

Module Classification

  • Internal: Local ai-context.md files in packages/apps
  • External: Submodules from .gitmodules (may lack ai-context.md)

External modules without context files show: (grep for implementation details)

Commands for Discovery

# List all modules with summaries
/modules

# Get full content of specific module
/module packages/parallel

# Search modules by pattern
/module-search http

Complete Example

---
path: packages/parallel
summary: Effect wrapper for Parallel AI SDK - web search, content extraction, and async task runs
tags: [effect, sdk-wrapper, parallel-ai, http-client]
---

# Parallel SDK Effect Wrapper

Effect-native wrapper for the Parallel AI SDK. Injects Effect's HttpClient as the
fetch implementation, providing typed errors, deferred computation patterns, and
composable layer construction.

## Architecture

┌─────────────────────────────────────────────────────────────────┐
│                         User Code                                │
│                    (Effect programs)                             │
└─────────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────────┐
│                      ParallelClient                              │
│    ┌──────────────┐  ┌──────────────┐  ┌──────────────────┐    │
│    │   search()   │  │  extract()   │  │   createRun()    │    │
│    └──────────────┘  └──────────────┘  └──────────────────┘    │
└─────────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────────┐
│                    Effect HttpClient                             │
│              (injected via Layer.provide)                        │
└─────────────────────────────────────────────────────────────────┘

## Core Modules

| Module | Purpose |
|--------|---------|
| `ParallelClient.ts` | Service interface with Effect operations |
| `ParallelClientLive.ts` | Live implementation using HttpClient |
| `ParallelRun.ts` | Async run execution with polling |
| `Errors.ts` | Tagged error types for failure handling |

## Usage Patterns

### Basic Search

import * as Parallel from "@/packages/parallel" import { Effect } from "effect"

const program = Effect.gen(function* () { const client = yield* Parallel.ParallelClient const results = yield* client.search({ query: "Effect TypeScript" }) return results })

const runnable = program.pipe( Effect.provide(Parallel.Live) )


### Error Handling

import * as Parallel from "@/packages/parallel" import { Effect } from "effect"

const safe = program.pipe( Effect.catchTag("ParallelApiError", (e) => Effect.succeed({ error: e.message }) ), Effect.catchTag("ParallelNetworkError", () => Effect.succeed({ error: "Network unavailable" }) ) )


## Design Decisions

**AD-1: Inject HttpClient via Layer**
Enables testing with mock HTTP responses. Production uses FetchHttpClient,
tests use a custom client that returns canned responses.

**AD-2: Tagged errors for all failure modes**
ParallelApiError, ParallelNetworkError, ParallelTimeoutError. Enables
precise error handling with catchTag.

## Dependencies

- `effect` - Core runtime
- `@effect/platform` - HttpClient abstraction
- `parallel-sdk` - Underlying SDK (via .context/parallel-sdk-typescript)

## Spec Reference

- [specs/parallel/DESIGN.md](../../specs/parallel/DESIGN.md)

When to Use This Skill

  • Adding a new package or app that should be discoverable
  • Documenting an existing module for AI assistants
  • Creating context for external libraries added as submodules
  • Updating documentation after significant refactoring
  • Ensuring modules appear in /modules listings

Key Principles

  1. Frontmatter is required - path and summary enable indexing
  2. Summary is critical - appears in all module listings
  3. Architecture diagrams - visual overview aids understanding
  4. Usage patterns with imports - show how to actually use the module
  5. Design decisions - explain why, not just what
  6. Code examples compile - include all necessary imports
  7. Namespace imports - always import * as X from

平台分布

Claude Code

30.03%
按下载量换算42

windsurf

20.5%
按下载量换算29

trae

17.4%
按下载量换算24

OpenCode

11.2%
按下载量换算16

Codex

8%
按下载量换算11

Antigravity

3.59%
按下载量换算5

安全审计

暂无安全审计结果可展示。

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add front-depiction/claude-setup --skill "ai-context-writer" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills