Agent skill

Load Profile

by devcodex-labs in devcodex-labs/devcodex

项目 Profile 加载规范 — 先形成语义意图种子与唯一目标,再按计划加载最小充分配置. An agent skill from devcodex-labs/devcodex.

AGPL-3.0Auto-check passedDevelopment

Install Load Profile

skills CLI
$ npx skills add devcodex-labs/devcodex --skill load-profile -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install devcodex-labs/devcodex load-profile --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/devcodex-labs/devcodex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/content/skills/load-profile .claude/skills/load-profile && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
load-profile
GitHub stars
439
Token cost
~3.7k tokens
SKILL.md length
978 words
Files
2
Skills in repo
70
Repo updated
First seen
Licence
AGPL-3.0

At a glance

项目 Profile 加载规范 — 先形成语义意图种子与唯一目标,再按计划加载最小充分配置. An agent skill from devcodex-labs/devcodex.

  • Development work in your project
  • SKILL.md covers 职责, 如何确定, 工作区目录映射 and Profile 路径约定, plus 7 more sections
  • Calls node

What it does

Load Profile is an agent skill from devcodex-labs/devcodex. 项目 Profile 加载规范 — 先形成语义意图种子与唯一目标,再按计划加载最小充分配置

Its SKILL.md is about 3.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `intent.json`).

It sits in Development. The repository describes itself as: Intent-driven AI coding workflow runtime for consistent context, skills, approvals, validation, and handoffs across six AI coding hosts. The licence is AGPL-3.0.

When your agent uses it

  • Development work in your project

Example prompts

  • “/load-profile”

What it can do on your machine

Read from SKILL.md and the folder at commit 1dd4525. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Load Profile loads about 3.7k tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 978 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~3.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from devcodex-labs/devcodex at commit 1dd4525, republished under its AGPL-3.0 licence (© devcodex-labs). 978 words, ~3,730 tokens.

Download SKILL.mdSave it as .claude/skills/load-profile/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
load-profile
description
项目 Profile 加载规范 — 先形成语义意图种子与唯一目标,再按计划加载最小充分配置

Load Profile Skill

职责

在 IntentSeedV1 形成后,独立确定目标项目 <project>,再按 ContextReadPlanV2(兼容读取 ContextReadPlanV1)加载最小充分的项目配置(profile)。计划确定后的只读 Profile 与记忆查询可按并发策略执行。

必要来源形成 ContextReadReceiptV2(V1 兼容)后,必须把 Profile 结果交给“项目现实扩展”步骤,作为最终意图路由、产物落点和验证方式的输入。

如何确定 <project>

优先级条件结果
1用户消息明确指定项目名称直接使用
2消息涉及工作区目录(如 vext/、ai-dev-guidelines/)映射到项目名
3🔴 无法确定必须先询问用户:"当前请求关联哪个项目?"。在用户明确回复前,禁止发起任何超出当前文件范围的工作区扫描(file_search / semantic_search / grep_search / list_dir 调用与当前任务无关的、以及项目以外的 read_file)。<project> = null 不再是合法默认状态

🔴 多项目工作区扫描禁令(v1.9.8+):当 cwd 是 monorepo 根目录且未明确 <project> 时,AI 侧与 Hook 侧同步阐断扫描。豁免词:workspace / monorepo / 全工作区 / all projects / 所有项目。详见 lifecycle.cjs isMultiProjectWorkspace。

工作区目录映射

工作区目录<project>
ai-dev-guidelines/dev-docs
devcodex/devcodex
其他目录目录名(若 profile 存在)

Profile 路径约定

默认兼容路径:

text
<项目根>/.devcodex/profile/

当 <工作区根>/.devcodex/layout.json 启用 workspace-namespace 时:

  • config.json:<工作区根>/.devcodex/workspace/profile/config.json 作为 base,<工作区根>/.devcodex/<project>/profile/config.json 作为 overlay;Auto 精确别名全局默认 @rocky,可用 extensions.devcodex.autoAliases 替换全局默认别名(省略表示沿用默认,空数组表示关闭默认别名),也可在 extensions.devcodex.concurrency 配置 ConcurrencyPolicy
  • extensions.devcodex.concurrency 缺省为 mode=auto:只读准备与隔离验证可按通道上限并行;mode=serial 表示全串行;项目只能追加 locks.additionalSingleWriterScopes,不得删除核心单写者域或开启并行 mutation
  • extensions.devcodex.git 缺省投影为 collaborationMode=unverified / branchPolicy=no-auto-branch / worktreePolicy=explicit-only / crossBranchIntegration=unverified / sharedActionsRequireExplicitAuthorization=true;项目 overlay 可用证据收窄为 solo/team,但不得把共享动作显式授权降为 false
  • Profile config 的对象层必须递归合并;project extensions.devcodex.git 只覆盖声明字段,不能因浅合并丢失 workspace 的授权边界、worktree policy 或其他 sibling 配置
  • config.local.json:与 config.json 使用相同的 workspace base + project overlay 路径模型,可作为用户 / 项目指定的本地 overlay(长期连接、本地明文连接信息、env / secretRef 引用、extensions.<namespace>);脚本、测试、数据库 / SSH / MongoDB / 数据操作只有在用户或项目明确指定时才以它作为连接配置入口
  • README.md、01-项目信息.md、02-架构约束.md、03-代码风格.md:项目命名空间文件优先,缺失回退到 workspace/profile/
  • <project> 未确定时,禁止猜测项目命名空间
ProfileReadChainGate / ServiceNormCoverageGate
<!-- devcodex:include shared/profile/profile-read-chain.md -->
  • 调用 profile_context_plan,以 canonical intent、changeTypes、risk、confidence 和明确 selector 生成 ContextReadPlanV2(V1 reader 保留);计划必须列出 baseline / selected / excluded / unclassified、base/project fallback 和实际 active-root。
  • ProfilePlanNoHiddenFullReadProbe 必须证明计划阶段只返回 README/index、effective non-local config 与顶层 metadata inventory,没有预读 01~09-*、config.local.json 或其他 selected 正文。
  • selected 正文通过 profile_load({ project, files }) 定向读取;只有 contextEpoch / invocation planId / planContentId / activeRoot / source 精确关联且 PostToolUse 观察成功的 ContextReadReceiptV2(V1 兼容)才能证明加载完成。
  • ContextReadBindingGate(PF-149):profile_load / profile_skill_plan 与 memory query 应携带与当前 ContextReadPlanV2 一致的 ContextReadBindingV1(contextEpoch / planId / planContentId / activeRoot / project)。bindingStatus=request-bound 才可把相关源推进 relevant-complete;legacy-unbound 只能降级为 partial/unverified,不得宣称 Context Acquisition 已完整完成;CONTEXT_BINDING_INVALID / CONTEXT_BINDING_MISMATCH fail-closed。机器分类见 scripts/lib/validate-context-read-controls.js(classifyContextReadBindingSample)。
  • ContentIdentityReuseGate:computation reuse 可跨进程复用有界解析/索引元数据,但仍须读取并返回当前任务需要的正文;delivery reuse 仅在同 host session、同 contextEpoch、同 planContentId、同 source identity 且当前模型的成功 body observation 可证时成立。cache hit 不能单独满足 receipt,旧 epoch receipt 只能作为 reuseFrom,不得改写成当前完成态。
  • 硬预算(ABS-06 / PF-133):profile_load 禁止无参默认真全量。省略 files 时必须 explicitFull=true + 非空 fullReadReason;否则返回 PROFILE_LOAD_BUDGET 错误与 inventory。定向 load 默认 maxBytes=32768(可调);explicitFull 默认更高字节上限仍可能 truncated。不得把无参全量成功当作 Context Acquisition 完成证据。
  • ProfileSectionSelectionGate:文件已进入 plan.selected 后,可调用 profile_load({ files, sectionSelectors }) 按完整 Markdown section 读取。selector 必须给出 file / headingQueries / requiredQueries,并显式选择 includePreamble / includeDescendants / maxBytes;多个标题必须分别定位、按源文件顺序拼接并对父子或重复范围去重,禁止按字符中途截断。
  • ProfileSectionLoadReceiptV1 必须记录 full/selected bytes、source digest、matched/missing/ambiguous/deferred、completion 与 fallbackReason。普通显式 selector 在 required query 缺失或歧义、低置信、parser 不支持、required section 超预算时可兼容 fallback-full;ProfileRouteLoadRecipeV2 必须携带 boundedOnly=true,任何缺标题、歧义或预算不足都只能 fail closed 为 partial 并返回 ProfileSectionRecoveryRecipeV1 / ProfileRouteRecoveryRecipeV1,不得退化为整文件。调用方补读 deferred 或完成分段恢复前,不得把 Context receipt 推进到 relevant-complete。
  • ContextReadPlanV2 必须把 effective config 的优化模式封装为身份绑定的 ExecutionOptimizationPlanBindingV1,profile_load / profile_skill_plan 直接消费该绑定,禁止另读 config.json。绑定缺失、损坏或未知时 fail-closed 到 full-only,分别走完整 Profile 文件与 full-skill-read;这类 fallback 不能标记为渐进加载命中。
  • 绑定只证明 config mode,不替代 feature lifecycle。Context computation、Profile section 与 Skill bundle 在消费绑定后还必须读取同一 active-root 的 ExecutionOptimizationStateV2 并形成 ExecutionOptimizationFeatureDecisionV1;对应 feature 为 off / shadow / rolled-back / sunset 或状态无效时,分别 bypass computation cache、清空 section selector、返回 fallback-full / full-skill-read,不得只在诊断输出里显示回滚。
  • 全量升级必须记录 fullReadReason,仅限用户/项目明确要求、audit/migration、低置信或必要来源缺失;config.local.json 还须用户/项目明确指定,不能因文件存在自动读取。
  • 覆盖 .devcodex/<project>/profile 读取链、.devcodex/workspace/profile 回退链和 sticky activeProject 生效边界;实质 identity / scope / action / risk / digest 漂移或 compact/resume 时重新规划。
  • 复审服务 / 框架规范时列出全部服务集合、docs 自维护链、导航、版本、构建、报告和记忆消费者。
  • 从单服务抽公共规范时同步执行 StrongestProfileSourceGate / ServiceSpecificResidueSweep,以最强 Profile 为基线并清扫服务化残留。
ProfileTruthReconciliationGate

Profile 加载只证明“声明已读取”,不能证明声明仍为当前真相。项目级 analyze / audit 在形成结论前必须执行分级真相对账:

mode触发最小范围
targeted项目级 analyze、根因/合理性/方案分析只核对与当前问题相关的版本、目录、脚本、能力、宿主、测试/发布或配置声明
full任意 audit复用 audit-common PFresh-1~PFresh-6,并反查 repo shape 与声明档位、生命周期文件完整性
N/A低风险、单文件、与项目事实无关的局部分析必须写 skipReason;不得用 N/A 规避项目级分析

加载后先把 profileTrustState 标为 unreconciled;对账完成后只能进入 aligned、drift-detected 或 partially-unverifiable。每条相关声明写入 ProfileTruthMatrix:

字段要求
profileClaimProfile 原声明与来源文件
actualSources当前代码、配置、package、运行证据、正式需求/发布事实
statusaligned / stale-profile / stale-code-or-doc / intentional-exception / unverifiable
conclusionAuthority当前结论采用的事实源及理由;当前状态默认以已验证代码/配置/运行证据为准
correctionRoute当前结论如何矫正、需要哪个 dev/fix/self-fix 更新 Profile、或为何保持例外

Profile 可以约束目标态和项目政策,但不得覆盖已验证的当前实现事实。analyze/audit 保持只读:发现漂移时立即矫正本轮结论并记录交接,不得直接修改 Profile 源文件;后续源文件修订必须进入独立 dev/fix/self-fix 与 ProfileImpactCheck。

ProfileReleaseTruthAuthorityMatrixGate

DevCodex 自维护、Profile 生成/复审、workspace base 同步和发布事实变更必须区分发布权威、当前消费者与历史证据:

层事实源 / 处理
release authoritypackage.json 与 plugin.json 的一致版本;正式发布状态再由 tag、CI、registry 证据补充
current project consumersproject 01 当前版本/阶段、05 当前发布事实、07 当前发布基线/版本语义/当前分发
workspace current consumer明确标注“DevCodex 工作区规范版本”的 workspace 01 当前版本/阶段
historical / per-featurechangelogs/releases/**、versioned docs、06 单能力 releaseState;不得按当前全局版本批量改写

加载时把每条明确 current claim 写入 authority matrix;版本不一致时 profileTrustState=drift-detected,validator 至少返回 warning/non-zero,不得把“文件存在”视为通过。只读工作流报告漂移并采用 release authority 修正结论;获授权的 dev/fix/self-fix 才同步 Profile。普通项目的自身版本不得错误对比 DevCodex package 版本。

MemoryCannotSatisfyBootstrapGate

Codex / 宿主内置 Memories、模型长期偏好、上一轮摘要或用户口头记忆只能作为导航提示,不能满足 DevCodex bootstrap、Profile 加载、Context Rehydration、CP 确认、报告结论或验证证据。

  • 新线程、resume、summary 恢复、compact 后继续、跨项目切换或用户提到“你应该记得”时,仍必须重新建立当前 active namespace 的计划并取得必要文件真相源回执;使用 bounded Profile plan、memory status/query(有限投影覆盖 Agent SUMMARY / daily tasks)与 handoff 指向的精确 report / review checklist / source,禁止固定全读 Profile、SUMMARY、今日/昨日 tasks。
  • 完整 继续<任务名>任务 / 继续 <任务名> 先通过 TaskResolutionV1 exact 定位 active project,再为该项目形成 ContextReadPlan;resolver 只可读取有界 task metadata,不得为了识别项目预读 Profile 正文。定位失败、歧义、完成、stale CP 或 scale-blocked 时不得创建错误项目计划。
  • 若内置 Memories 与文件真相源冲突,以文件真相源为准;报告或 PC 块说明冲突和采用依据。
  • 若无法完成文件真相源读取,只能标记阻塞或降级,不能把 Memories / 模型回忆写成 verified、loaded、passed 或 CP / release 证据。
  • 当用户询问是否启用宿主 Memories 时,结论必须同时说明本门禁:开启也不降低文件读取门槛;无法保证该门禁时默认不建议作为正式 DevCodex 运行模式。
FeatureInventoryProfileGate

公开包、SDK、CLI、多模块仓库、文档站、public API、可配置 runtime 或跨项目规范维护任务需要稳定功能清单时,必须执行 FeatureInventoryProfileGate:

  • Profile 中应有可追踪 feature inventory 或精确说明其当前 Markdown 来源;关键词命中、临时清单或不存在的路径不能证明来源有效。
  • profile-closed-loop 使用 06-功能清单.md 作为规范真相源;新生成/当前维护内容符合 FeatureInventorySchemaV2:V1 十字段基础上增加生命周期状态、证据状态、证据日期和证据引用。validator 兼容读取 V1,但 V1 投影不得宣称已验证或已发布。01-项目信息.md 只能保留摘要和链接,不得复制完整规范表。
  • feature inventory 不能由复审清单临时拼接;复审清单只记录本轮验证状态,Profile 或正式文档记录稳定能力面。
  • 功能增删、默认行为变化、公开 API 或文档站能力变化时,报告需写 ProfileRuntimeContractSyncGate 与 ProfileImpactCheck 是否同步。
Show full SKILL.md (386 more words)Show less
ProfileGenerationContractGate / ProfileTierMigrationSafetyGate / FeatureInventorySchemaGate
  • Profile 生成、加载、状态展示和校验必须消费同一三档契约;不得由 Skill、CLI、Prompt 或 validator 各自维护不一致的文件集合。
  • devcodex profile plan / profile init --dry-run 先显示目标根、现有档位、推荐档位、目标档位和逐文件动作,且必须零写入。
  • 未显式指定 --tier 时继承现有档位;首次创建默认 lite 并单独给出推荐档位。升级只补缺失文件并保留已有正文;降档必须有 --allow-downgrade,且保留高档文件。
  • devcodex status 分开报告 files、semantic 与 config,避免把 config 的条件状态混入必需文件计数。

ProfileTierStandardGate / ProfileLifecycleClassificationGate

Profile 标准分三档,conditional-required 只表示文件级条件触发,不是项目档位。加载 Profile 时必须先判断档位,再决定缺失项是阻断、警告还是 N/A:

档位适用项目必需文件
profile-lite小型项目、工具脚本、单一后端服务、早期草稿README.md、01-项目信息.md、02-架构约束.md、03-代码风格.md,config.json 按需
profile-standard有稳定测试/发布要求、多人协作或公开包的项目profile-lite 全部文件 + 04-测试规范.md + 05-交付发布规范.md 或 05-发布规范.md + feature inventory 来源说明
profile-closed-loopDevCodex 规范维护、SDK/CLI/文档站/public API、多模块或需要完整开发闭环的项目profile-standard 全部文件 + 06-功能清单.md + 07-用户文档与契约规范.md,必要时按条件补 08-* / 09-*

文件生命周期必须写清:

生命周期含义例子
稳定基线项目事实变化才更新01-项目信息.md、02-架构约束.md、03-代码风格.md
活文档功能、API、CLI、Hook、测试、发布、文档站变化时持续更新04-测试规范.md、05-交付发布规范.md、06-功能清单.md、07-用户文档与契约规范.md
条件 / 本地文档命中连接、服务、数据、外部系统或本地 overlay 才维护config.local.json、08-*、09-*

AllDevCodexProfileValidationGate:当任务涉及 Profile 标准、workspace-namespace、规范维护项目、发布前检查或用户要求“校验 .devcodex 所有项目”时,必须执行全项目 Profile 校验,至少覆盖 .devcodex/workspace/profile 与 .devcodex/<project>/profile 的读取链。推荐命令:

bash
node scripts/validate-all-profiles.js --workspace <workspace-root>

标准文件(按需加载)

下表是档位存在性契约,不是每轮默认正文读取集合;具体读取由 ContextReadPlanV2(V1 兼容)决定。

文件说明必须
README.mdprofile 索引,声明 profile-lite / profile-standard / profile-closed-loop 档位是
01-项目信息.md技术栈/仓库地址是
02-架构约束.md目录结构/模块边界是
03-代码风格.md编码规范是
04-测试规范.md测试框架/覆盖率profile-standard 起必需
05-交付发布规范.md / 05-发布规范.md版本号/发布流程profile-standard 起必需
06-功能清单.mdFeatureInventorySchemaV2 功能清单规范源(兼容读取 V1);standard 默认生成,closed-loop 必需profile-standard 生成;profile-closed-loop 必需
07-用户文档与契约规范.mdREADME、站点文档、quick start、API/CLI/Hook/宿主契约维护规则profile-closed-loop 必需
config.json运行模式配置(ENV_MODE)+ agent 兜底标识;Auto 别名、并发、执行优化,以及 extensions.devcodex.git 的协作/分支/worktree/跨分支集成/共享动作授权边界按需
config.local.json用户 / 项目指定时使用的本地 overlay:长期连接、本地明文连接信息、env / secretRef 引用、extensions.<namespace>条件 / 本地

⚠️ config.json.agent 只用于当前实际宿主无法可靠判断时的 fallback hint。产物路径中的 <agent> 必须优先使用当前会话/工具链可验证的实际宿主;profile agent 不得覆盖当前会话事实。

⚠️ Auto 精确别名全局默认 @rocky。config.json.extensions.devcodex.autoAliases 只接受精确 @alias token,并用于替换全局默认别名:省略表示沿用 @rocky,空数组表示关闭默认别名;普通“继续”、模糊提及或询问 auto 规则不算授权。

⚠️ extensions.devcodex.git 只描述项目政策与已核实协作事实,不授权实际 Git mutation。未核实项目保持 no-auto-branch;solo 默认 keep-current;选择性跨分支才默认 ordered cherry-pick,push 始终独立确认。

⚠️ config.local.json 不得覆盖 mode / agent / pluginVersion。ENV_MODE 仍只由 config.json 决定;config.local.json 只补充本地私有上下文。

⚠️ config.local.json 若使用项目级扩展,只能放在 extensions.<namespace> 下,并且必须在 01-项目信息.md 或 Profile README 说明用途、字段语义与使用方式。

⚠️ config.local.json 可保存 host、port、database、schema、username、内部 URL、连接别名、password、token、apiKey、privateKey、clientSecret、signingKey、connectionPassword、connectionString 等本地字段。它不是默认唯一入口;只有用户、项目既有配置或目标平台明确指定时,才读取或新增 config.local.json、env、*Env、secretRef 或 secret manager。

⚠️ 连接信息默认可直写或沿用项目既有模式;脚本、测试、数据库 / SSH / MongoDB / 数据操作只有在用户或项目明确指定 config.local.json 时,才从当前 Profile 路径模型读取,发现文件或字段缺失时提醒用户补齐。

Profile 缺失处理

情况处理
profile/ 或集中布局命名空间存在profile_context_plan 返回 README/index、effective non-local config 与 metadata inventory,再按 selected files 定向读取;config.local.json 仅在用户 / 项目明确指定时读取
二者都不存在提示用户是否自动生成(扫描项目源码推断)
部分文件缺失文档文件可按 workspace fallback 继续读取;必须文件仍提示用户补充

项目现实扩展输出

必要 Profile 来源取得 Post 成功回执后,必须形成以下最小结论,供 PC1/PC3 与后续工作流使用:

字段说明
目标项目当前任务绑定的 <project> 或 workspace
真实范围仅当前项目 / 工作区 / 跨服务 / 文档规范控制面
意图修正语义初判是否需要修正为其他工作流或子类型
关联文件族最小相关文件集合或文件族,不得扩大到无界扫描
产物落点requirements / bugs / reports / workspace 命名空间等
验证方式lint / test / typecheck / validate / 文档链接验证 / 发布验证等
domain受影响模块/领域,如 runtime/hooks/memory/docs/mcp/cli
riskdestructive/security/high-risk/normal
host-capability涉及 Claude/Codex/Copilot/Cursor/JetBrains 等宿主能力差异时,标注支持与降级边界
validation-routetest/lint/typecheck/validate/direct replay/官方文档等验证路线
confidencehigh/medium/low,并说明不确定来源
alternatives被排除工作流/子类型及原因

若任一字段无法稳定判断,应在入口检查中标注“待澄清”,不得伪造项目事实。

跨服务需求 Profile 加载

当读取需求文档时检测到 影响服务 字段(跨服务需求),按以下策略加载多个服务的 profile:

服务类型加载范围说明
入口服务独立 plan:baseline + 当前 action/risk 所需正文主服务也不得无理由固定全读 01~03-*
关联服务独立 plan:通常只选择接口契约、项目事实或架构边界中的必要项未选择来源写 excluded reason,不按身份预读整套

优先级:入口服务 profile > 关联服务 profile > 通用规范(P4)

⚠️ 若某关联服务 profile 不存在,记录提示但不阻断;AI 在涉及该服务实施细节时主动提醒用户补充。

优先级

项目 profile > 租户规范(P3)> 工作流规范(P4)> 通用规范(P5)

🔴 <project> 未确定时,任何工作流都必须先询问用户,禁止猜测、禁止跳过项目询问进入工作流(与上表优先级 3 一致)。

ENV_MODE 注入

加载 profile 时,读取 config.json 的 mode 字段,输出 ENV_MODE 供后续所有 Skill 引用:

情况ENV_MODE
config.json 存在且 mode: "dev"dev
config.json 存在且 mode: "prod"prod
config.json 不存在prod(保守默认)
mode 字段缺失或非法值prod(保守默认)

加载后在上下文中声明:ENV_MODE = dev 或 ENV_MODE = prod,并在首次回复中标注当前模式。若 profile agent 与当前实际宿主不同,应标注为“profile agent 兜底值与当前宿主不同”,但记忆、报告和产物仍按当前实际宿主落点写入。config.local.json 只在用户 / 项目指定时补充本地连接/扩展上下文,不改变这里的 ENV_MODE 结论。

© devcodex-labs, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in content/skills/load-profile of devcodex-labs/devcodex.

  • SKILL.md
  • intent.json

Open the folder on GitHubat commit 1dd4525

Compare with similar skills

Load Profile next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Load Profile compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Load Profile this skilldevcodex-labs/devcodex439—~3.7kAutomated safety check: PassAGPL-3.0
Vercel Composition Patternssupabase/supabase111k59 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 59 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from devcodex-labs/devcodex

All 70 skills in this repo
  • Accessibility I18n

    devcodex-labs/devcodex

    无障碍与国际化专家 Owner — 当任务涉及可访问性、键盘操作、焦点、屏幕阅读器、ARIA、语言地区、本地化、RTL、翻译资源、用户可见文案或多语言文档时使用;要求把包容性体验和本地化验证绑定到真实用户路径。

    439 GitHub stars~718 tokensUpdated 21 days ago
    Auto-check passed
  • AI Agent System Architecture

    devcodex-labs/devcodex

    AI Agent 系统架构专家 Owner — 当任务涉及 Agent 路由、工具调用、上下文管理、记忆、状态机、权限、人机协作、可观测性、回放验证或模型辅助治理时使用;要求把 Agent 行为设计成可解释、可恢复、可审计。

    439 GitHub stars~2.4k tokensUpdated 21 days ago
    Auto-check passed
  • API Contract Architecture

    devcodex-labs/devcodex

    API 契约架构专家 Owner — 当任务涉及 public API、HTTP/SDK/CLI 契约、版本兼容、错误模型、分页过滤、幂等、Schema、类型、迁移或消费者影响时使用;要求先冻结消费者契约,再设计实现与验证。

    439 GitHub stars~865 tokensUpdated 21 days ago
    Auto-check passed
  • Architecture Design

    devcodex-labs/devcodex

    架构设计文档编排 Owner — 当用户要求架构设计、系统设计、技术架构或可指导开发、Review 与任务拆分的完整方案时使用;要求从业务流程反推节点、状态、数据、一致性、异常补偿、ADR 与实施任务。

    439 GitHub stars~1.1k tokensUpdated 21 days ago
    Auto-check passed
  • Audit Common

    devcodex-labs/devcodex

    审查公共维度 G0~G5 + Profile Freshness Check — 所有 audit 子类型必先执行的基础维度层

    439 GitHub stars~4.1k tokensUpdated 21 days ago
    Auto-check passed
  • Audit Session

    devcodex-labs/devcodex

    审计工作流的跨会话状态机 — 在 <audit-root/.audit-state/<session-id.json 持久化轮次/发现项/收敛状态,支持 Token 中断后精准恢复

    439 GitHub stars~1.8k tokensUpdated 21 days ago
    Auto-check passed

Categories

Questions about Load Profile

What does Load Profile do?

项目 Profile 加载规范 — 先形成语义意图种子与唯一目标,再按计划加载最小充分配置. An agent skill from devcodex-labs/devcodex. Load Profile is an agent skill from devcodex-labs/devcodex.

When should I use Load Profile?

Load Profile fits situations like: development work in your project.

How do I install Load Profile in Claude Code?

Run `npx skills add devcodex-labs/devcodex --skill load-profile -a claude-code`. Or copy the skill folder (content/skills/load-profile in devcodex-labs/devcodex) into .claude/skills/load-profile in your project. Claude Code loads it when a task matches its description.

How do I install Load Profile in Codex?

Run `npx skills add devcodex-labs/devcodex --skill load-profile -a codex`. Or copy the skill folder (content/skills/load-profile in devcodex-labs/devcodex) into .agents/skills/load-profile in your project. Codex loads it when a task matches its description.

Can I use Load Profile in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add devcodex-labs/devcodex --skill load-profile -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/load-profile, .gemini/skills/load-profile, .github/skills/load-profile and .opencode/skills/load-profile in your project.

What does Load Profile need to run?

Going by SKILL.md and its folder, Load Profile needs the command-line tools its instructions call (node).

Does Load Profile access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Load Profile safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Load Profile use?

Load Profile is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Load Profile use?

About 3.7k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Load Profile?

Skills that share tags, products or a category with Load Profile: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Load Profile?

devcodex-labs (a GitHub organization) maintains it in devcodex-labs/devcodex, which has 439 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on September 17, 2026.

Source: devcodex-labs/devcodex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.