jx-mode

jx-mode is a skill for Claude Code, Codex from 1072636071/win-shell-mcp. It costs 74 tokens per session (2,313 once invoked), scanned A, original, Apache-2.0.

A set of rules for a JX work mode that tells the coding agent which file and command tools to use, and where to save useful facts for later.

In plain words
What is it for?
It is for reading, editing, searching, comparing, copying, moving, and managing files, running programs, and recording facts in the JXK knowledge base.
Why use it?
It gives the session a consistent way to work across operating systems and preserve important discoveries instead of relying on ad-hoc commands or memory.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit It is for reading, editing, searching, comparing, copying, moving, and managing files, running programs, and recording facts in the JXK knowledge base.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/1072636071/win-shell-mcp/jx-mode
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 1072636071/win-shell-mcp --skill jx-mode
Clone the repo
git clone --depth 1 https://github.com/1072636071/win-shell-mcp

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 jx-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/1072636071/win-shell-mcp/jx-mode.svg)](https://agentmods.dev/skills/1072636071/win-shell-mcp/jx-mode)
Your own site
<a href="https://agentmods.dev/skills/1072636071/win-shell-mcp/jx-mode"><img src="https://agentmods.dev/badge/skills/1072636071/win-shell-mcp/jx-mode.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,313 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.00074 $0.02313
Opus 5 $0.00037 $0.01156
Sonnet 5 $0.00015 $0.00463
Haiku 4.5 $0.00007 $0.00231

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

Security

Grade A, and why

jx-mode 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 7d 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.

| HTTP | curl / fetch | `net_get` / `net_post`;下载落盘用 `net_download` |
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • jx-test — 89% identical, 60 lines differ
docs/dsh/skills/jx-mode/SKILL.md · 113 lines

How it starts

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

JX 模式细则

JX 模式 = 标准能力 + 两条规则。规则要点已写在 persona 里,本文件是执行细则。

规则一:工具优先 win-shell-mcp

win-shell-mcp 0.2.0 起全量 58 个工具,下表按操作类型全覆盖。

要做的事 绕开 优先调用
读文件 内置 read / cat / Get-Content fs_read(带行号);要原始全文用 cat
写/覆盖文件 内置 write / 重定向 fs_write(默认 utf-8,支持 gbk 与追加)
定点修改 内置 edit text_replace(pattern 默认字面量、/正则/ 启用正则;字面量模式 $1 原样插入,正则模式才 $1 回引用;多命中须表态——all:true 全量 / maxReplace:N 限量 / 正则尾 g;0 命中报 EINVAL)
找文件路径 内置 glob / find search_glob;按名字递归找用 find;找 PATH 里可执行文件用 search_which
搜内容 内置 grep / grep search_content(跨文件);单文件带上下文用 text_grep;两者的 pattern 与 text_replace 同一套双模语义
列目录 ls / 内置列目录 fs_list(glob 过滤、recursive、sort)
文本切片与统计 head / tail / wc text_head / text_tail / text_wc
文本对比 diff text_diff(行级 unified diff)
复制/移动/删除/建目录 cp mv rm mkdir fs_cp / fs_mv / fs_rm / fs_mkdir
元数据 stat touch du fs_stat / fs_touch / fs_du
当前目录与回显 pwd / echo pwd / echo
执行外部程序 直调 pwsh/bash/cmd run_command(argv 直执行,不经 shell 解析);确需 shell 语法时 shell_exec
环境变量 $env: / export env_get / env_set / env_unset
进程 tasklist / kill process_list / process_kill
包管理 直调 npm/pip pkg_detect 探测 → pkg_run 执行
git 手敲 git 命令 git_status git_add git_commit git_diff git_log git_branch git_checkout git_clone git_pull git_push git_stash(stash 的 push/pop/list/drop 都走它的 action 参数)
HTTP curl / fetch net_get / net_post;下载落盘用 net_download
网络诊断 ping/nslookup/netstat ping / net_dns / net_tcp / net_listen
归档 tar / zip archive_create / archive_extract
校验和 sha256sum hash_file
JSON 取值 jq json_get
系统信息 uname / df / free system_info / system_disk / system_memory / system_path

回退规则

win-shell-mcp 是首选,不是枷锁。以下情况允许回退到内置工具:

  • MCP 未连接或工具不存在:直接用内置工具,无需解释。
  • 调用失败且换内置确实能成:回退一次即可,并在回复中注明「<工具名> 失败(错误码),已回退」。禁止反复重试同一失败调用。
  • 交互式/TUI 场景(需要人实时输入的程序):win-shell-mcp 覆盖不了,改用内置方案并告知局限。
  • 需要沙箱审批语义的场景:DSH 内置 pwsh/write/edit 自带沙箱与审批策略;涉及越权重试时以内置通道为准。

Read the full file on GitHub · 113 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. 7d ago First seen · 113 lines · 74 tokens per session scan A c8a4542bb3d7

Subscribe to this mod's changes

jx-mode is a skill published in the GitHub repository 1072636071/win-shell-mcp (0 stars, last pushed 8d ago), licensed Apache-2.0. It adds 74 tokens to every session and 2,313 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens