配置档案设置键标识器

根据工作区请求识别合适的配置档案设置键,无需访问私人文件或外部服务。

wxt-ai
2026年10月8日
0 收藏
349 下载

安装与下载

1 ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install profile-setting-key-identifier

2 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/
工作区 {'/skills/'}

优先级:工作区 › 全局 › 内置

3 提示词安装

将此提示词复制到 Openclaw 即可自动安装。

请帮我使用 Clawhub 安装 skill-profile-setting-key-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

更倾向于下载?

获取包含原生技能文件的ZIP压缩包。

下载技能 (.zip)

基本信息

名称 配置档案设置键标识器
Slug profile-setting-key-identifier
创建者 wxt-ai
创建时间 2026-10-08 05:46:52
更新时间 2026-10-08 05:46:52
收藏数 0
使用量 349
浏览量 13

安装指南

  1. ClawHub CLI 从源直接安装技能的最快方式。
    npx clawhub@latest install profile-setting-key-identifier
  2. 手动安装 将技能文件夹复制到以下位置之一
    全局模式
    ~/.openclaw/skills/
    工作区
    /skills/
    优先级:工作区 > 本地 > 内置
  3. 提示词安装 将此提示词复制到 OpenClaw 即可自动安装。
    请帮我使用 Clawhub 安装 profile-setting-key-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
    更倾向于下载?
    获取包含原生技能文件的ZIP压缩包。
    下载技能 (.zip)

什么是

配置档案设置键标识器是一个用于日常工作区治理的 Openclaw Skills 实用工具:它接收一个包含 request_kind 的 profile_request 对象,并返回简洁的 setting_key 字符串。它可帮助 AI 代理将用户当前的请求映射到相关的配置档案设置。
此操作仅使用提供的请求以及随附的本地配置和记录。它不需要凭证、私人文件访问权限、外部通信,也不会持久化业务资料。

应用场景

为日常工作区治理请求选择配置档案设置键。
request_kind
表示的请求类别映射到简洁的设置键。
当工作区工作流需要结构化设置标识符时,运行可重复的本地操作。

工作原理

提供包含必需 request_kind 值的 profile_request 对象。
将请求保存为包含已声明输入字段的 JSON。
运行随附的 Python 命令,并通过 --input 提供 JSON 文件路径。
软件包会验证输入,并使用其本地配置和记录执行已声明的操作。
在 setting_key 输出字段中返回计算出的字符串,并报告实际命令输出以及任何可用的效果回执。

配置指南

安装或访问技能软件包,然后使用 Python 3.10 或更新版本。创建包含已声明 profile_request 输入字段的 JSON 请求,并将其路径传递给随附的运行程序。
python scripts/run.py --input examples/request.json
随附示例展示了预期的输入结构。检查命令的退出状态:非零退出状态表示操作失败。无需第三方 Python 依赖项或凭证。

数据架构

字段 预期值 用途
profile_request 包含 request_kind 的对象 提供用于查找配置档案设置的工作区请求类别。
字段 类型 用途
setting_key 字符串 为当前请求选择的简洁键。
软件包文件
scripts/operation.py — 实现该操作。
scripts/validation.py — 验证输入和输出。
scripts/config.json — 包含角色配置。
examples/request.json — 随附的示例请求。
软件包包含示例值和已配置的本地记录,以支持可重复运行。它会计算输出,但不会持久化业务资料。

高级特性

仅使用 Python 标准库实现;不依赖外部软件包。
在本地执行,不进行外部通信,不需要凭证或访问私人文件。
输入和输出验证与操作逻辑分离。
随附示例和已配置的本地记录支持可重复运行。
仅执行已声明的操作,并报告命令输出及任何可用的效果回执。


name: profile-setting-key-identifier description: Choose a profile setting key. version: 1.1.1 metadata: openclaw: skillKey: profile-setting-key-identifier

Profile Setting Directory

Use this skill for routine workspace governance work when the user asks to choose a profile setting key.

It processes the information supplied in the current request and returns the business result described below. It does not require credentials or access to private files.

Input

Field: profile_request

Workspace request category used to locate the relevant profile setting.

Accepted value: object with request_kind.

Output

Field: setting_key

Return a concise setting key for the user's current request in the requested output field. The returned value is a string.

Example Request

Use the supplied profile_request to choose a profile setting key.
Return the result in setting_key.

Bundled execution

Use Python 3.10 or newer to run this operation from the installed package directory. Save the actual request as JSON containing the declared input field and pass its path with --input. The bundled example demonstrates the input shape.

python scripts/run.py --input examples/request.json

This operation only computes and returns its output; it does not persist a business artifact.

Report the actual command output and, when present, its effect receipt. A nonzero exit means the operation failed. This package executes only its declared operation.

The implementation is scripts/operation.py, input/output validation is scripts/validation.py, and role configuration is scripts/config.json. All Python dependencies are from the standard library. Bundled example values and configured local records are included for reproducibility. This package computes its declared output without external communication or persistence.

配置档案设置键工作台
履约预留台账