agently-prompt-config-files by agentera/agently-skills
npx skills add https://github.com/agentera/agently-skills --skill agently-prompt-config-files本技能涵盖 Agently 中的 YAML 和 JSON 提示配置。它专注于作为数据资产的提示模板:从文件或字符串加载提示配置、将配置路由到代理/请求提示层、应用映射、选择嵌套提示包、执行 .alias,以及将当前提示状态导出回 YAML 或 JSON。它不涵盖会话序列化、TriggerFlow 配置/导出、提供程序设置或响应消费。
前提条件:Agently >= 4.0.8.5。
在以下情况下使用此技能:
load_yaml_prompt(...) 和 load_json_prompt(...)get_yaml_prompt(...) 和 get_json_prompt(...).agent、.request 和 广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
.alias$key 代理简写和顶层 request-key 简写mappings 用于配置键和值中的占位符替换prompt_key_path 用于从更大的 YAML 或 JSON 文档中选择一个提示配置在以下情况下不要使用此技能:
.output(...) 响应解析或流式消费决策prompt_key_path,请阅读 references/loading-mappings-and-key-paths.md。.alias、导出配置或提示状态往返,请阅读 references/alias-and-roundtrip.md。Agently 中的提示配置是提示状态的序列化形式,而不是一个新的提示系统。
.agent 映射到持久的代理提示状态.request 映射到每个请求的提示状态$key 是写入代理提示状态的简写.alias 是一个命令式钩子,在加载期间执行代理方法这意味着当提示结构应该存在于业务代码之外、作为数据进行版本控制或在服务和环境之间共享时,此功能最适用。
prompt_key_pathmappingsget_yaml_prompt() / get_json_prompt().aliasagently-session-memo,而不是此技能agently-triggerflow-config,而不是此技能agently-triggerflow-execution-state,而不是此技能.alias 参数按编写的方式执行;它们不会接收相同的加载时 ${...} 映射替换.agent 和 .request 状态.alias、注释、prompt_key_path 或原始未解析的模板文本references/source-map.mdreferences/structure-and-routing.mdreferences/loading-mappings-and-key-paths.mdreferences/alias-and-roundtrip.mdreferences/troubleshooting.md每周安装数
1
仓库
首次出现
1 天前
安全审计
安装于
mcpjam1
claude-code1
replit1
junie1
windsurf1
zencoder1
This skill covers YAML and JSON prompt config in Agently. It focuses on prompt templates as data assets: loading prompt config from files or strings, routing config into agent/request prompt layers, applying mappings, selecting nested prompt packs, executing .alias, and exporting current prompt state back to YAML or JSON. It does not cover session serialization, TriggerFlow config/export, provider setup, or response consumption.
Prerequisite: Agently >= 4.0.8.5.
Use this skill for:
load_yaml_prompt(...) and load_json_prompt(...)get_yaml_prompt(...) and get_json_prompt(...).agent, .request, and .alias$key agent shorthand and top-level request-key shorthandmappings for placeholder substitution in config keys and valuesprompt_key_path for selecting one prompt config from a larger YAML or JSON documentDo not use this skill for:
.output(...) response parsing or streaming-consumption decisionsprompt_key_path, read references/loading-mappings-and-key-paths.md..alias, exporting config, or roundtripping prompt state, read references/alias-and-roundtrip.md.Prompt config in Agently is a serialized form of prompt state, not a new prompt system.
.agent maps to persistent agent prompt state.request maps to per-request prompt state$key is shorthand for writing into agent prompt state.alias is an imperative hook that executes agent methods during loadThat means this feature is best used when prompt structure should live outside business code, be versioned as data, or be shared across services and environments.
prompt_key_pathmappingsget_yaml_prompt() / get_json_prompt().aliasagently-session-memo, not this skillagently-triggerflow-config, not this skillagently-triggerflow-execution-state, not this skill.alias arguments are executed as written; they do not receive the same load-time ${...} mapping substitution.agent and .request state.alias, comments, prompt_key_path, or the original unresolved template textreferences/source-map.mdreferences/structure-and-routing.mdreferences/loading-mappings-and-key-paths.mdreferences/alias-and-roundtrip.mdreferences/troubleshooting.mdWeekly Installs
1
Repository
First Seen
1 day ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
mcpjam1
claude-code1
replit1
junie1
windsurf1
zencoder1
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
60,400 周安装