Home / hanzhcn / laohan-skills · laohan-chushicodex/SKILL.md · GitHub

laohan-chushicodex skillA

laohan-chushicodex is agent-read markdown (skill) from hanzhcn/laohan-skills: 为新安装或待整顿的 Codex 做轻量初始化:体检版本与配置、建立最小权限边界、整理分层 AGENTS.md、确认项目验证命令,并留下可重复的任务闭环。Use when 用户说"初始化 Codex"、"新装 Codex 怎么配置"、"Codex 配置体检"、"建立 AGENTS.md"、"给项目接入 Codex",或要把 Codex 的配置做成可分享的最小基线。.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Codex 轻量初始化

只建立能提高安全性、可执行性和验收质量的最小基线;不把个人模型偏好、插件清单、密钥、绝对路径或复杂工作流伪装成通用初始化。

## 选择模式

### `GLOBAL_SETUP`:只在新装或重整 Codex 时执行一次

- 使用于全局 `config.toml`、global `AGENTS.md`、profile 或客户端健康需要建立基线的场景。
- 执行 `scripts/audit-codex-init.sh`,先取得只读快照。脚本会原样调用 `codex doctor`(运行时权限/健康信息)并另列配置文本;不联网、不写入、不读取配置中的密钥字段或转储完整环境。输出含本机路径、Doctor 摘要和 Git 状态,分享前先审阅。
- 变更前说明将修改的文件和理由;涉及更新 CLI、安装插件/MCP、认证、联网、提交、发布或放宽权限时,等待用户明确确认。
- 保留用户已有的有效配置;不因初始化删除 MCP、插件、`AGENTS.md`、项目 trust 或历史偏好。

### `PROJECT_ONBOARDING`:每个项目首次接入时执行一次轻量检查

- 不重做全局配置,也不复制全局 `AGENTS.md`。
- 只确认项目的运行时、包管理器/锁文件、最小验证命令、目录边界和验收条件;先实测,再把真实结果写入项目 `AGENTS.md`。
- 需要新建项目 `AGENTS.md` 时只写项目事实,不复制 [全局模板](references/global-agents-template.md)。

## 通用 global `AGENTS.md`

- `GLOBAL_SETUP` 中,若用户要求新建或替换通用 global `AGENTS.md`,读取 [global-agents-template.md](references/global-agents-template.md)。
- 模板仅适合无既有全局规则的用户;它不包含人名、模型、MCP、插件、路径、项目命令或私人工作方式。
- 目标文件已经存在时,先比较并给出最小 diff;除非用户明确要求,不覆盖原文件。

## 六项最小基线

### 1. 先体检,再决定是否升级

- 运行 `codex --version`、`codex doctor` 与 `codex --strict-config --help`;记录 CLI 与 Desktop App 分别是什么版本,不能混称。
- 若版本落后,只报告版本和官方更新路径 `codex update`;不自动升级。先确认安装来源、更新影响与回滚条件。
- 用 `codex doctor` 的运行时输出确认 approval/sandbox;配置文件文本只是补充快照,不能替代运行时证据。
…

Read the whole file at its exact version.

How to install

Latest version
mdr add hanzhcn/laohan-skills/laohan-chushicodex@git:20260812.84bd329
Exact content
mdr add hanzhcn/laohan-skills/laohan-chushicodex@sha256:e1de23daf13eb99f

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_sfvz6mdrpi2iqben.svg)](https://markdownregistry.com/a/art_sfvz6mdrpi2iqben)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260812.84bd329 latest2026-08-12 84bd329 6,390 BA view · diff
git:20260812.224c50c2026-08-12 224c50c 5,462 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6390 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

hanzhcn/laohan-skills · 11 stars · license MIT · pushed 2026-09-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_sfvz6mdrpi2iqben
GET https://markdownregistry.com/api/v1/resolve?ref=hanzhcn/laohan-skills/laohan-chushicodex
GET https://markdownregistry.com/api/v1/blob/e1de23daf13eb99fbb489f9fc3aca163deb9a19ca6225005dac6298c630e1c66

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from hanzhcn/laohan-skills

CLAUDE.md claude
hanzhcn/laohan-skills · CLAUDE.md
git:20260813.307a30f · audit A · 11 stars
duopingtai skill
hanzhcn/laohan-skills · duopingtai/SKILL.md · 将口播稿/文章改写为多平台版本。当用户说"多平台改写"、"改成多平台版本"、"改成三个平台"、"适配多平台"、"转抖音版"、"转小红书版"、"转公众号版"时触发。输入一段口播稿或文章,输出抖音、小红书、公众号三个平台的适配版本。
v1.0 · audit A · 11 stars
laohan-bianpai skill
hanzhcn/laohan-skills · laohan-bianpai/SKILL.md · 真人口播工作流编排器。根据 episode 已落盘产物识别当前步骤、验证前置 gate,并给出唯一下一步与对应 skill;不替代创作、剪辑、发布或复盘。Use when 用户说工作流下一步、检查本期进度、编排这期视频、当前做到哪、验证…
v1.23.0 · audit A · 11 stars
laohan-cheat skill
hanzhcn/laohan-skills · laohan-cheat/SKILL.md · 内容校准工作流适配器。为 episode 选择正确的 cheat-on-content 校准 lane,保存可追溯的校准入口;评分、盲预测、发布登记、复盘和 rubric 更新一律由上游 cheat-on-content 执行。Use…
v2.1.0 · audit A · 11 stars
laohan-chuangzuo skill
hanzhcn/laohan-skills · laohan-chuangzuo/SKILL.md · 统一创作引擎,负责创作口播初稿(不含封面提示词,封面由 laohan-fengmianqiuzhi 独立产出;不含选题搜索,选题由工作流①前置用 laohan-xuanti/laohan-douyinsousuo…
v3.6.0 · audit B · 11 stars
laohan-daoyan skill
hanzhcn/laohan-skills · laohan-daoyan/SKILL.md · laohanAI真人口播新episode的V5.1导演预制入口。分为导演初稿与一次最终复审,共用director-state.md并停在WAITING_FOR_FOOTAGE;不剪辑、不写Remotion、不渲染。METHOD_LAB仅在用…
v2.1.2 · audit A · 11 stars
laohan-donghua skill
hanzhcn/laohan-skills · laohan-donghua/SKILL.md · METHOD_LAB/历史 episode 的双 renderer 动画编排器。默认 CODEX_DIRECT 生产不使用本 skill;只有用户明确要求旧 AST、Remotion/HyperFrames 对照或恢复历史 episode…
v11.4.0-candidate · audit A · 11 stars
laohan-douyinsousuo skill
hanzhcn/laohan-skills · laohan-douyinsousuo/SKILL.md · 抖音关键词搜索与结构化取证 adapter,只使用已安装且已登录的 OpenCLI;独立回答搜索请求,或为真人口播①写本期抖音证据,不决定最终选题。Use when…
v3.3.0 · audit A · 11 stars
laohan-fengmianqiuzhi skill
hanzhcn/laohan-skills · laohan-fengmianqiuzhi/SKILL.md · 根据真人AI口播稿和 Jeffrey 身份参考图,按文案冲突选择1个最匹配模板,生成1张9:16视觉母版,并产出3:4/4:3/16:9三张真实尺寸封面,共享到四平台7个逻辑入口。Use when…
v1.19.0 · audit A · 11 stars
laohan-fengmianzhuzige skill
hanzhcn/laohan-skills · laohan-fengmianzhuzige/SKILL.md · 完全对标柱子哥TzFilm封面体系(81张真实封面逐张检视实证2026-09-20)——三层合成管线:AI/真实背景板(无字无人)+真人环境照片层+Remotion材质级文字层。画幅1080x1440(3:4原生)。Use when…
v6.1.0 · audit A · 11 stars
laohan-fenjingtishici skill
hanzhcn/laohan-skills · laohan-fenjingtishici/SKILL.md · 生成专业分镜图片提示词,适配扩散模型(FLUX/SDXL/Gemini)。校验质量后拆分为独立文件,或直接生成带产品描述的 Gemini 提示词模板。Use when…
v1 · audit A · 11 stars
laohan-gengxin skill
hanzhcn/laohan-skills · laohan-gengxin/SKILL.md · 工具版本检查与更新,扫描 npm/brew/pip/uv/GitHub/plugins/skills 逐项对比已装和最新版本,生成带编号报告,确认后才执行更新。Use when…
v1 · audit A · 11 stars

Every file in hanzhcn/laohan-skills

Browse by kind, by grade A, or by owner.