Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dropcv.work/llms.txt

Use this file to discover all available pages before exploring further.

Codex CLI 是 OpenAI 官方的代码模型命令行工具,支持 Skills 系统和 AGENTS.md 项目指令。

安装

1

安装 Codex CLI

npm install -g @openai/codex
2

配置 API Key

export OPENAI_API_KEY="你的 API Key"
3

创建项目指令文件

在项目根目录创建 AGENTS.md,告诉 Codex 如何使用 DropCV:
# 项目说明

这是一个使用 DropCV 人才库的项目。

## DropCV API

DropCV 提供 RESTful API,基础地址:https://api.dropcv.com/api/v1

### 常用端点

- GET /candidates - 候选人列表
- POST /candidates/search - 搜索候选人
- GET /candidates/{id} - 候选人详情
- POST /candidates/jd-match - JD 匹配

### 认证

所有请求需要 Header: Authorization: Bearer <API Key>
4

开始使用

codex
在对话中:
  • “帮我调用 DropCV API,搜索所有 React 经验 3 年以上的候选人”
  • “写一个脚本,批量调用 DropCV 的 JD 匹配接口”

注意

Codex CLI 的 MCP 支持尚不明确,推荐通过 AGENTS.md 告诉 AI 如何调用 DropCV 的 RESTful API。详见 RESTful API 文档。