kube-coder: Skill for Claude Code

.claude/skills/remote-task/SKILL.md

remote-task is a skill for Claude Code from imran31415/kube-coder. It costs 40 tokens per session (1,572 once invoked), scanned A, original, MIT.

A command for sending coding tasks to a remote kube-coder workspace and monitoring them. The remote workspace runs each task in a terminal session that can be attached to when approval or input is needed.

In plain words
What is it for?
Use it to launch remote tasks, list their status, inspect output, or attach to a running session.
Why use it?
It lets work run on another workspace while showing whether the task is running, finished, or waiting for interaction.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is imran31415/kube-coder's own configuration. It tells Claude Code how to work on kube-coder itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kube-coder configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/dev/.claude-tasks/.api-token.

Reuse

Borrowing it

Nothing to install: this file belongs to imran31415/kube-coder. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/imran31415/kube-coder/main/.claude/skills/remote-task/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/imran31415/kube-coder

Made for: Claude Code.

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 remote-task

README.md
[![agentmods](https://agentmods.dev/badge/skills/imran31415/kube-coder/remote-task/github.svg)](https://agentmods.dev/skills/imran31415/kube-coder/remote-task)
Your own site
<a href="https://agentmods.dev/skills/imran31415/kube-coder/remote-task"><img src="https://agentmods.dev/badge/skills/imran31415/kube-coder/remote-task/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 remote-task

Your own site · 80×15
<a href="https://agentmods.dev/skills/imran31415/kube-coder/remote-task"><img src="https://agentmods.dev/badge/skills/imran31415/kube-coder/remote-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,572 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00040 $0.01572
Opus 5.5 $0.00016 $0.00629
Sonnet 5.5 $0.00008 $0.00314
Haiku 4.5 $0.00004 $0.00157

Measured 2mo ago against content hash a421c8ea0781, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

remote-task scanned grade A with 1 finding 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 2mo ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "http://localhost:6080/api/claude/tasks" \
.claude/skills/remote-task/SKILL.md · 146 lines

How it starts

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

Remote Task Skill

Launch Claude tasks on remote kube-coder workspace pods, check their status, or view output.

Prerequisites

This skill requires:

  1. kubectl access to the cluster
  2. A running workspace pod (deployed via make deploy-<user>)
  3. An API token generated on the pod

How It Works

The workspace pod runs a Python HTTP server on port 6080 that exposes a Claude Task API. Tasks launch as interactive tmux sessions running claude — users can attach to approve permissions and provide input.

Commands

Based on $ARGUMENTS, perform ONE of the following:

1. If $ARGUMENTS is "status" — List all tasks

# Port-forward if needed
kubectl port-forward -n coder svc/ws-imran 6080:6080 &
PF_PID=$!
sleep 2

TOKEN=$(kubectl exec -n coder $(kubectl get pods -n coder -l app=ws-imran -o jsonpath='{.items[0].metadata.name}') -c ide -- cat /home/dev/.claude-tasks/.api-token 2>/dev/null)

curl -s "http://localhost:6080/api/claude/tasks" \
  -H "Authorization: Bearer $TOKEN" | python3 -m json.tool

kill $PF_PID 2>/dev/null

Display the results as a formatted table showing: task_id, status, prompt (truncated), and created_at (as relative time).

2. If $ARGUMENTS starts with "attach" — Show how to attach to a task

Extract the task ID from the arguments. Then tell the user:

  • Open the dashboard at the workspace URL and click "Attach" on the task
  • Or run: kubectl exec -it -n coder <pod> -c ide -- tmux attach-session -t claude-<task_id>

Also show recent output:

kubectl exec -n coder <pod> -c ide -- tmux capture-pane -t claude-<TASK_ID> -p -S -30

3. If $ARGUMENTS starts with "output" — Show task output

Extract the task ID from the arguments. Run:

kubectl exec -n coder <pod> -c ide -- tmux capture-pane -t claude-<TASK_ID> -p -S -50

4. If $ARGUMENTS starts with "kill" — Kill a task

Extract the task ID from the arguments. Run:

kubectl port-forward -n coder svc/ws-imran 6080:6080 &
PF_PID=$!
sleep 2

TOKEN=$(kubectl exec -n coder $(kubectl get pods -n coder -l app=ws-imran -o jsonpath='{.items[0].metadata.name}') -c ide -- cat /home/dev/.claude-tasks/.api-token 2>/dev/null)

curl -s -X DELETE "http://localhost:6080/api/claude/tasks/<TASK_ID>" \
  -H "Authorization: Bearer $TOKEN" | python3 -m json.tool

kill $PF_PID 2>/dev/null

Read the full file on GitHub · 146 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. 2mo ago First seen · 146 lines · 40 tokens per session scan A a421c8ea0781

Subscribe to this mod's changes

remote-task is a skill published in the GitHub repository imran31415/kube-coder (399 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 1,572 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

remote-task compared with skills from other repositories

remote-task next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
remote-taskimran31415/kube-coderSkill3992d agoMITA40Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code