picko-es-tag-distribution

picko-es-tag-distribution is a skill for Claude Code, Codex from deepcoldy/botmux. It costs 109 tokens per session (1,211 once invoked), scanned A, original, MIT.

A data lookup workflow for finding how many active product records have each value of a named tag in Elasticsearch, a search database used for large collections of records. It first finds the tag's internal field name in a configuration service, then queries the records.

In plain words
What is it for?
Use it to answer questions about a product tag's counts or value distribution in the specified production Elasticsearch index, while asking for confirmation if several tag definitions match.
Why use it?
It removes the need to manually map a Chinese tag name to an internal field and build the search query. It also applies the defined filters for active records before calculating the value distribution.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to answer questions about a product tag's counts or value distribution in the specified production Elasticsearch index, while asking for confirmation if several tag definitions match.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/deepcoldy/botmux/picko
About the project

botmux connects Feishu/Lark messaging with AI coding command-line tools, creating a separate live-streaming coding session for each conversation. Developers use it to monitor, question, interrupt, and operate coding agents running on their own computers from Feishu chats or a web terminal.

deepcoldy/botmux · 2,227 stars · on GitHub · deepcoldy.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add deepcoldy/botmux --skill picko
Clone the repo
git clone --depth 1 https://github.com/deepcoldy/botmux

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for picko-es-tag-distribution

README.md
[![agentmods](https://agentmods.dev/badge/skills/deepcoldy/botmux/picko/github.svg)](https://agentmods.dev/skills/deepcoldy/botmux/picko)
Your own site
<a href="https://agentmods.dev/skills/deepcoldy/botmux/picko"><img src="https://agentmods.dev/badge/skills/deepcoldy/botmux/picko/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for picko-es-tag-distribution

Your own site · 80×15
<a href="https://agentmods.dev/skills/deepcoldy/botmux/picko"><img src="https://agentmods.dev/badge/skills/deepcoldy/botmux/picko.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,211 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00109 $0.01211
Opus 5.5 $0.00044 $0.00484
Sonnet 5.5 $0.00022 $0.00242
Haiku 4.5 $0.00011 $0.00121

Measured today against content hash 8b9674385f61, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

picko-es-tag-distribution scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/artifacts/bytedcli-managed-skills/picko/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Picko ES Tag Distribution

用于按标签中文名从 TCC 标签配置中定位 ES 字段名,并查询 udc_picko_record 的字段值分布。

默认实例

  • TCC:namespace=ecom.market.udc_dump,dir=/dump_v2,env=prod,region=CN
  • ES:psm=byte.es.market_pick,idc=lf,index=udc_picko_record,method=GET
  • 默认 TCC key:固定使用 rule_list_config_PRODUCT_new,不要追问用户。

执行步骤

1. 查 TCC 标签集合

bytedcli tcc config get ecom.market.udc_dump rule_list_config_PRODUCT_new --env prod -r CN -d /dump_v2 -j

从返回的 data.latest_version.base(JSON 字符串)中按标签中文名匹配:

  • 优先匹配 desc 去掉前缀后的精确中文名,例如 【实时】是否送礼商品 匹配 是否送礼商品。
  • 其次用包含匹配处理用户输入的简称。
  • 字段名取该标签对象的 name。
  • 若有同名/近似多项,先列出候选并让用户确认,不要猜。

可用 python3 解析保存的输出;不要依赖肉眼在超长 TCC 输出里查找。

2. 取最新时间戳

date +%s

作为 ES 查询里的 entity_end_time.gt。如果用户明确指定时间戳,以用户指定为准。

3. 查 ES 字段值分布

查询 DSL 模板:

{
  "size": 0,
  "query": {
    "bool": {
      "filter": [
        {"term": {"entity_status": 6}},
        {"range": {"entity_end_time": {"gt": <timestamp>}}}
      ]
    }
  },
  "aggs": {
    "字段值分布": {
      "terms": {
        "field": "<field_name>",
        "size": 20
      }
    }
  }
}

命令:

bytedcli es search --psm byte.es.market_pick --idc lf --index udc_picko_record --method GET --query '<query-json>' --size 0 -j

4. 受管与普通运行

使用 bytedcli --botmux-skill-api-contract 探测运行合同;返回 botmux.skill-api.v1 时是受管模式。该标记仅用于分流,不授予任何权限。 受管 ES 查询按宿主精确命令策略选择身份。机器查询需要宿主管理员预先配置受保护且有效的 GDPR 平台登录凭据;缺失或过期时停止并报告宿主认证前提,不在会话中执行登录、安装 doas 或导出令牌。actor 缺少个人 GDPR 身份证明时拒绝,不借机器凭据。

以下 doas 操作仅适用于普通独立运行。

5. doas/网络问题处理

如果 ES 查询报 Failed to install doas、DNS、TOS 下载失败等沙箱/网络问题,按 Codex 权限规则用 require_escalated 重试。

如果提示 doas installed but not found in PATH,通常当前目录会生成 ./doas,可执行:

chmod +x ./doas
PATH="$PWD:$PATH" DOAS_ZONE=cn bytedcli es search --psm byte.es.market_pick --idc lf --index udc_picko_record --method GET --query '<query-json>' --size 0 -j

若 doas 自动检测到 boe 或等待扫码,指定 DOAS_ZONE=cn 后重试。

结果判读与回复

  • 从 aggregations.字段值分布.buckets 取 key 和 doc_count。
  • 如果 TCC 标签有 value_options,把 key 映射为中文含义(注意 ES 返回数字时和 TCC 字符串值做字符串化比较)。
  • 计算总量和占比;默认保留两位小数。
  • 保持短答,包含:标签名、字段名、时间戳、过滤条件、分布表、合计。

Read the full file on GitHub · 116 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 116 lines · 109 tokens per session scan A 8b9674385f61

Subscribe to this mod's changes

picko-es-tag-distribution is a skill published in the GitHub repository deepcoldy/botmux (2,227 stars, last pushed today), licensed MIT. It adds 109 tokens to every session and 1,211 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-30.

Related

picko-es-tag-distribution compared with skills from other repositories

picko-es-tag-distribution next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
picko-es-tag-distributiondeepcoldy/botmuxSkill2.2ktodayMITA109Claude Code, Codex
lark-baseddpie/lark-mcp-on-agentcoreSkill83mo agoMITA82Claude Code, Codex
lark-baseseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA61Claude Code, Codex
bitableyjwong/lark-cliSkill577mo agoMITA38Claude Code, Codex
aoe-invariantsagent-of-empires/agent-of-empiresSkill5.2ktodayMITA92Claude Code, Codex
cmux-backendmanaflow-ai/cmuxSkill29ktodaynoneA53Codex
lark-taskseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA125Claude Code, Codex