开发编程
#cloud
fieldflow-cli
Use FieldFlow to inspect and reduce noisy JSON CLI output before it reaches model context. Trigger for read-only external CLI tasks likely to return large structured output, especially logs, list, describe, get, read, query, search, metrics, or status commands from tools like gcloud, gh, kubectl, aws, or similar CLIs that can emit JSON. Prefer `fieldflow-cli inspect` first, then rerun with explicit `--field` selectors. Do not use for tiny local commands, text-only commands, or mutating commands unless explicitly asked.
DeepseekModel
官方收录技能
质量 优秀 · 78
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=guillaumegay13-fieldflow-agents-skills-fieldflow-cli-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name fieldflow-cli description Use FieldFlow to inspect and reduce noisy JSON CLI output before it reaches model context. Trigger for read-only external CLI tasks likely to return large structured output, especially logs, list, describe, get, read, query, search, metrics, or status commands from tools like gcloud, gh, kubectl, aws, or similar CLIs that can emit JSON. Prefer `fieldflow-cli inspect` first, then rerun with explicit `--field` selectors. Do not use for tiny local commands, text-only commands, or mutating commands unless explicitly asked. FieldFlow CLI Use this skill to keep large JSON CLI output out of model context. Qualify The Command Use fieldflow-cli only when all of these are true: The command is read-only. The command is external or service-facing, not a tiny local shell command. The command can emit JSON on stdout. The expected output is likely large enough that raw output would pollute context. Do not use this skill for commands like pwd , date , ls , git status , rg , or any mutating command such as deploy , apply , delete , or create . Inspect First Run fieldflow-cli inspect before choosing selectors unless you already have a manifest for the exact same wrapped command. fieldflow-cli inspect --sample-items 100 -- <wrapped command > The inspect step writes a compact field catalog under .fieldflow/inspect/ and prints the manifest to stdout. Treat that manifest as the source of truth for valid selectors. The manifest is deterministic and intentionally small: path types It does not store raw command output. Pick Minimal Fields Choose the smallest field set that answers the user’s question. Prefer fields like: timestamps severity or status identifiers or names URLs concise message fields latency, count, or state fields Avoid broad selectors such as [] or whole nested objects unless the task truly needs them. Run The Reduced Command After choosing selectors, rerun the command through fieldflow-cli . fieldflow-cli \ --field "[].timestamp" \ --field "[].severity" \ --field "[].jsonPayload.message" \ -- \ <wrapped command > If the result is too narrow, broaden the selectors and rerun the reduced call. Do not fall back to raw output unless the user explicitly asks for it. JSON Output Rules Prefer the CLI’s native JSON mode: gcloud : --format=json kubectl : -o json gh : --json ... aws : JSON is already standard, or use --output json when needed If the command cannot emit JSON, do not use this skill. Gcloud Example For noisy Cloud Run request or error logs: fieldflow-cli inspect --sample-items 100 -- \ gcloud logging read \ 'resource.type="cloud_run_revision" AND resource.labels.service_name="program-api-service" AND severity>=ERROR' \ --project=train-3328b \ --freshness=24h \ -- limit =2000 \ --format=json Then reduce to the smallest useful fields, for example: fieldflow-cli \ --field "[].timestamp" \ --field "[].severity" \ --field "[].httpRequest.requestMethod" \ --field "[].httpRequest.requestUrl" \ --field "[].httpRequest.status" \ --field "[].httpRequest.latency" \ -- \ gcloud logging read \ 'resource.type="cloud_run_revision" AND resource.labels.service_name="program-api-service" AND severity>=ERROR' \ --project=train-3328b \ --freshness=24h \ -- limit =2000 \ --format=json
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |