byted-emr-skills

byted-emr-skills is a skill for Claude Code, Codex from bytedance/agentkit-samples. It costs 183 tokens per session (4,918 once invoked), scanned A, original, Apache-2.0.

A set of operations for managing Alibaba Cloud EMR, a managed platform for running big-data tools such as Spark. It covers EMR Serverless, EMR on ECS, EMR on VKE, jobs, services, clusters, logs, and configuration.

In plain words
What is it for?
Listing and managing clusters, services, queues, compute groups, and users; submitting and monitoring Spark or other jobs; reading logs; changing service settings; and diagnosing failed jobs.
Why use it?
It brings common EMR administration, job-running, and troubleshooting tasks into one workflow. This reduces the need to switch between separate cluster, service, and job interfaces.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Listing and managing clusters, services, queues, compute groups, and users; submitting and monitoring Spark or other jobs; reading logs; changing service settings; and diagnosing failed jobs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bytedance/agentkit-samples/byted-emr-skills
About the project

bytedance/agentkit-samples is a collection of examples and tutorials for Volcengine AgentKit, an AI-agent development platform for building, deploying, and operating agent applications. Developers use the samples to learn agent creation, multi-agent collaboration, memory, retrieval, MCP integrations, media generation, customer service, and other workflows. The catalogue skills provide agent workflows based on these examples.

bytedance/agentkit-samples · 453 stars · on GitHub

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 bytedance/agentkit-samples --skill byted-emr-skills
Clone the repo
git clone --depth 1 https://github.com/bytedance/agentkit-samples

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 byted-emr-skills

README.md
[![agentmods](https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-emr-skills/github.svg)](https://agentmods.dev/skills/bytedance/agentkit-samples/byted-emr-skills)
Your own site
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-emr-skills"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-emr-skills/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 byted-emr-skills

Your own site · 80×15
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-emr-skills"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-emr-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,918 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00183 $0.04918
Opus 5 $0.00092 $0.02459
Sonnet 5 $0.00037 $0.00984
Haiku 4.5 $0.00018 $0.00492

Measured 12d ago against content hash 01638374b7b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

byted-emr-skills 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 12d ago.

The scan reads SKILL.md. This mod also ships 20 executable files (scripts/__init__.py, scripts/bin/install_serverless_sdk.sh, scripts/client/__init__.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/byted-emr-skills/SKILL.md · 215 lines

How it starts

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

EMR Skills

  • 何时使用(触发短语)
  • 当用户提出以下任何类似需求时,立即调用该技能:
    “查询EMR集群的服务列表”
    “重启Spark服务”
    “获取 EMR 作业日志”
    “查看EMR serverless队列列表”
    “查看EMR serverless队列详情”
    “使用 EMR Serverless 运行任务”
    “在 EMR 上提交一个 Spark 作业”
    “帮我诊断一下失败的 Spark 作业”
    “分析一下EMR作业失败的原因”
    
  • 任何涉及 EMR Serverless 作业/队列/计算组/监控/日志/诊断 的操作询问

功能清单

  • EMR Serverless
    • 队列:开通公共队列、队列列表查询、队列详情查询、队列下计算组列表查询
    • 队列权限:查询队列授权主体、为用户授予/修改队列权限
    • 计算组:创建/修改/启动/停止/删除、查询可选规格与镜像、外部元数据连通性测试
    • 作业模板:创建/更新/查询详情/列表查询/运行
    • 作业实例:提交(SparkSQL/PrestoSQL/SparkJar/PySpark/RayJob)、查询状态与详情、取消、列表查询、重跑、结果分批拉取
  • EMR Agent
    • 交互式诊断与知识问答
    • 会话与报告管理
  • EMR on ECS
    • 集群:查看集群详情、集群列表、更新集群属性
    • 节点组:列出节点组、更新节点组属性、节点列表、扩容节点组磁盘、更新节点组ECS规格
    • 服务:列出应用、组件列表、组件实例列表、执行应用操作
    • 服务配置:配置文件列表、配置文件详情、配置项列表、配置项修改历史列表、修改配置项
    • 操作审计:操作列表查询
    • 用户:创建集群用户、修改已创建用户信息、获取集群用户列表、获取用户详情、更新集群用户密码
    • 用户组:获取集群用户组列表、集群用户组详情、创建集群用户组、更新集群用户组
  • EMR on VKE
    • 集群:查看集群列表、集群详情
    • 服务(应用):查看服务列表、服务组件实例、重启服务或组件实例、查看服务配置参数、修改服务配置参数
    • 操作日志:查看操作日志列表、操作日志详情

Initial Setup

环境变量配置

方式一:使用ARK_SKILL_API环境变量(推荐)

如果已配置以下环境变量,则无需配置火山引擎API凭证:

export ARK_SKILL_API_BASE="your-api-base-url"
export ARK_SKILL_API_KEY="your-api-key"

方式二:使用火山引擎API凭证

如果未配置ARK_SKILL_API环境变量,且需要使用serverless sdk能力或出现sdk报错,则需要配置火山引擎API凭证:

export VOLCENGINE_AK="your-access-key"
export VOLCENGINE_SK="your-secret-key"
export VOLCENGINE_REGION="cn-beijing"
  • 安装emr serverless sdk,调用scripts/bin/install_serverless_sdk.sh安装

How to manage EMR

1. EMR on Serverless管理

  • 针对全托管的 Serverless 形态,主要面向作业提交和资源队列管理。
  • OpenAPI 推荐使用命令行工具:python ./scripts/on_serverless/emr_serverless_cli.py --action <Action> --method <GET|POST> --query '<json>' --body '<json>'
    • Region 默认从环境变量 VOLCENGINE_REGION 读取(默认 cn-beijing)
    • Service/Version 会根据 Action 自动推断(需要时也可显式传 --service/--version
    • 自定义 endpoint(如 LAS)可额外传 --endpoint las.cn-beijing.volcengineapi.com
  • 作业提交推荐使用命令行工具:python ./scripts/on_serverless/emr_serverless_submit_cli.py <sql|jar|pyspark|ray> ...

如何管理资源队列

  • 支持的功能列表
    • 队列列表:查看所有资源队列及其配置(如最大资源、当前使用量), 必须使用OpenAPIListTagQueue查询队列列表。
    • 队列详情:获取队列的详细信息,包括绑定的网络、存储等, 必须使用OpenAPIGetQueue查询队列详情。
    • 创建队列:一键创建公共队列, 必须使用OpenAPICreateQueueSilentlyCreateOrderInOneStep创建队列。
    • 队列计算组列表:获取指定队列下的计算组(Queue Component)列表与详情,必须使用OpenAPIListQueueComponent查询队列计算组列表。
  • 所有的队列功能操作详情,请严格按照references/emr_serverless/queue/emr_serverless_queue_guide.md中的说明进行操作。

Read the full file on GitHub · 215 lines

Files

What ships with it

37 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 215 lines · 183 tokens per session scan A 01638374b7b0

Subscribe to this mod's changes

byted-emr-skills is a skill published in the GitHub repository bytedance/agentkit-samples (453 stars, last pushed 2d ago), licensed Apache-2.0. It adds 183 tokens to every session and 4,918 once invoked, about $0.0009 per session on Opus 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-08-31.

Related

Other skills, from other repositories

latchbio-integration

Latch platform for bioinformatics workflows. Build pipelines with Latch SDK, @workflow/@task decorators, deploy serverless workflows, LatchFile/LatchDir, Nextflow/Snakemake integration.

synthetic-sciences/openscience · 45 tokens

claw-admin

Claw system administration: service management, IM connections, logs, cron, and workspace diagnostics. Use when the user asks to manage claw services, connect/disconnect IM platforms, view logs, or perform system-wide operations.

x-cmd/x-cmd · 48 tokens

x-nets

Enhanced netstat module with cached data and structured output. View network connections, routing tables, and interface statistics in interactive or TSV/CSV formats. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 69 tokens

x-theme

Change terminal command line prompt theme. Globally manage the display style of all x-cmd interactive components. Supports multiple theme vendors: theme, starship, ohmyposh. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 74 tokens

x-arp

Display ARP cache table with MAC vendor lookup and suspicious entry detection. Supports CSV, TSV, and TUI output. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 64 tokens

x-lsof

Enhanced lsof (List Open Files) with interactive UI and structured output. View open files, network connections, and processes. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 64 tokens