Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计异常

codex-toolsCodex tools 搜索

Agent Skill

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

总安装

412

周安装

17

GitHub Stars

9

下载量

135
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:codex-tools(Codex tools 搜索)
来源仓库:https://github.com/adaptationio/skrillz
仓库路径:skills/codex-tools
安装命令:
npx skills add https://github.com/adaptationio/skrillz --skill codex-tools
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/adaptationio/skrillz --skill codex-tools

简介

codex-tools 提供全自动化 Codex CLI 执行模式与安全封装。

  • 支持危险绕过审批、沙箱内完整自动化等多种策略。
  • 内置项目初始化、依赖安装等端到端脚本示例。
  • 运行前应评估 --dangerously-bypass-approvals 的风险等级。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Codex Tools Execution

Comprehensive patterns for executing Codex CLI tools safely and with full automation.

Last Updated: December 2025 (GPT-5.2 Release)

Full Automation Patterns

Maximum Automation

# Complete bypass (zero friction)
codex exec --dangerously-bypass-approvals-and-sandbox "Organize project files"

# Safe automation (sandboxed)
codex exec --full-auto "Refactor module with tests"

# Custom automation
codex exec -a never -s workspace-write "Controlled automation"

Automated Workflows

#!/bin/bash
# Complete project setup automation

setup_project() {
  local name="$1"
  local type="$2"  # react, node, python, etc.

  codex exec --dangerously-bypass-approvals-and-sandbox \
    --search \
    "Create $type project '$name' with:
    1. Industry-standard directory structure
    2. Configuration files (ESLint, Prettier, etc.)
    3. Git initialization with proper .gitignore
    4. README with setup instructions
    5. CI/CD workflow (GitHub Actions)
    6. Docker setup with multi-stage build
    7. Environment variables template
    8. Comprehensive tests
    9. Documentation"
}

# Usage
setup_project "my-app" "react"

Batch Processing

#!/bin/bash
# Process multiple files with full automation

batch_process() {
  local pattern="$1"
  local operation="$2"

  codex exec --dangerously-bypass-approvals-and-sandbox \
    --json \
    "For each file matching $pattern:
    1. $operation
    2. Preserve formatting
    3. Run tests
    4. Fix any issues
    Return JSON with changes summary"
}

# Examples
batch_process "*.js" "add JSDoc comments and type hints"
batch_process "*.test.ts" "improve test coverage to 100%"

Tool Categories

File Operations

# Read and analyze
codex exec --json "List all functions in ./src with their complexity" > analysis.json

# Modify files
codex exec --dangerously-bypass-approvals-and-sandbox \
  "Add error handling to all async functions in ./src"

# Generate files
codex exec --dangerously-bypass-approvals-and-sandbox \
  "Generate API documentation from code"

# Organize files
codex exec --full-auto "Organize imports and exports across project"

Shell Commands

# Run tests
codex exec --dangerously-bypass-approvals-and-sandbox \
  "Run all tests and fix failures automatically"

# Install dependencies
codex exec --full-auto "Analyze dependencies and update to latest stable"

# Build and deploy
codex exec --dangerously-bypass-approvals-and-sandbox \
  "Build optimized production bundle and run checks"

Web Search

# Research-driven development
codex exec --search --dangerously-bypass-approvals-and-sandbox \
  "Research best practices for GraphQL and implement schema"

# Technology comparison
codex exec --search --full-auto \
  "Compare REST vs GraphQL vs gRPC and recommend for our use case"

Safety Patterns

Backup Before Execution

#!/bin/bash
backup_and_execute() {
  local task="$1"

  # Git backup
  git stash push -m "pre-codex-$(date +%s)"

  if codex exec --dangerously-bypass-approvals-and-sandbox "$task"; then
    echo "Success! Backup: git stash list"
  else
    echo "Failed! Restoring..."
    git stash pop
    return 1
  fi
}

Scoped Automation

# Limit to specific directory
codex exec --dangerously-bypass-approvals-and-sandbox \
  -C ./src/auth \
  "Only modify files in this directory"

# Add writable directories
codex exec --dangerously-bypass-approvals-and-sandbox \
  --add-dir ./docs \
  --add-dir ./tests \
  "Can write to workspace, docs, and tests"

Complete Automation Examples

Automated Testing Workflow

#!/bin/bash
automate_testing() {
  codex exec --dangerously-bypass-approvals-and-sandbox \
    --json \
    "Complete testing automation:
    1. Analyze code coverage
    2. Generate missing unit tests
    3. Generate integration tests
    4. Generate e2e tests
    5. Run all tests
    6. Fix all failing tests
    7. Achieve 100% coverage
    8. Generate coverage report"
}

Automated Refactoring

#!/bin/bash
automate_refactoring() {
  local module="$1"

  codex exec --dangerously-bypass-approvals-and-sandbox \
    "Comprehensive refactoring of $module:
    1. Analyze code quality
    2. Apply modern patterns
    3. Improve performance
    4. Add error handling
    5. Update tests
    6. Run all tests
    7. Fix any issues
    8. Generate documentation"
}

Related Skills

  • codex-cli: Main integration
  • codex-auth: Authentication
  • codex-chat: Interactive sessions
  • codex-review: Code review
  • codex-git: Git workflows

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.52%
按下载量换算40

github-copilot

25.72%
按下载量换算35

neovate

17.74%
按下载量换算24

Antigravity

11.81%
按下载量换算16

kilo

7%
按下载量换算9

command-code

3.64%
按下载量换算5

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills