jeecg-system

jeecg-system is a skill for Claude Code, Codex from jeecgboot/skills. It costs 162 tokens per session (4,836 once invoked), scanned A, original, Apache-2.0.

A JeecgBoot assistant for looking up and managing system records such as users, roles, departments, job titles, dictionaries, tenants, data sources, and scheduled tasks. JeecgBoot is a Java business-application platform.

In plain words
What is it for?
Use it to find users, roles, departments, dictionaries, and other system records, or to create roles and dictionaries when they do not already exist.
Why use it?
It avoids creating duplicate records by checking existing system data first. It also keeps related users and roles consistent when other setup tasks need them.

Skill for Claude CodeCodex

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

Good fit Use it to find users, roles, departments, dictionaries, and other system records, or to create roles and dictionaries when they do not already exist.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeecgboot/skills/jeecg-system
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 jeecgboot/skills --skill jeecg-system
Clone the repo
git clone --depth 1 https://github.com/jeecgboot/skills

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 jeecg-system

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeecgboot/skills/jeecg-system"><img src="https://agentmods.dev/badge/skills/jeecgboot/skills/jeecg-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,836 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.00162 $0.04836
Opus 5 $0.00081 $0.02418
Sonnet 5 $0.00032 $0.00967
Haiku 4.5 $0.00016 $0.00484

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

Security

Grade A, and why

jeecg-system 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 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/system_creator.py, scripts/system_utils.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.

jeecg-system/SKILL.md · 396 lines

How it starts

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

JeecgBoot 系统主数据查询与管理

查询和管理 JeecgBoot 系统中的角色、用户、部门、字典等主数据。遵循"先查后建"原则:优先使用系统已有数据,没有才创建。

前置条件

用户必须提供以下信息(或由 AI 引导确认):

  1. API 地址:JeecgBoot 后端地址(如 https://boot3.jeecg.com/jeecgboot
  2. X-Access-Token:JWT 登录令牌(从浏览器 F12 获取)

如果用户未提供,提示:

请提供 JeecgBoot 后端地址和 X-Access-Token(从浏览器 F12 → Network → 任意请求的 Request Headers 中复制)。

核心原则:先查后建

在任何 skill(流程设计、表单设计、代码生成等)需要使用主数据时,必须先查询系统已有数据,确认不存在后才创建新数据

数据类型 查询函数 创建函数 一站式函数
角色 query_roles() / find_role() create_role() find_or_create_role()
角色绑定用户 add_users_to_role(role_id, user_ids)
审批角色 query_approval_roles() / find_approval_role() create_approval_role_group() + create_approval_role() find_or_create_approval_role()
审批角色绑定用户 add_users_to_approval_role(role_id, user_ids)
用户 query_users() / find_user()
部门 query_depts() / find_dept()
岗位 query_dept_positions()
字典(普通) query_dict() / search_dict() / find_dict() create_dict() find_or_create_dict()
字典(SQL表) query_sql_table_dict()

使用方式

脚本位置

  • scripts/system_creator.py通用命令行脚本(推荐,无需生成临时 .py)
  • scripts/system_utils.py — 工具库(供其他 skill 脚本 import)

方式一:通用脚本 + 命令行(推荐)

单项查询(直接命令行,无需配置文件):

SCRIPT="<skill目录>/jeecg-system/scripts/system_creator.py"
API="<api_base>"
TOKEN="eyJ..."

# 查询角色列表
python "$SCRIPT" --api-base $API --token $TOKEN --action query-roles
python "$SCRIPT" --api-base $API --token $TOKEN --action query-roles --keyword 经理

# 查询用户列表
python "$SCRIPT" --api-base $API --token $TOKEN --action query-users --keyword 张

# 查询部门树
python "$SCRIPT" --api-base $API --token $TOKEN --action query-depts
python "$SCRIPT" --api-base $API --token $TOKEN --action query-depts --keyword 研发

# 查询字典列表
python "$SCRIPT" --api-base $API --token $TOKEN --action query-dicts --keyword 请假

# 查询字典项
python "$SCRIPT" --api-base $API --token $TOKEN --action query-dict --code sex

# 查询职务列表
python "$SCRIPT" --api-base $API --token $TOKEN --action query-positions

# 查询部门+岗位树
python "$SCRIPT" --api-base $API --token $TOKEN --action query-dept-positions

# 查询审批角色
python "$SCRIPT" --api-base $API --token $TOKEN --action query-approval-roles

# 查询租户列表
python "$SCRIPT" --api-base $API --token $TOKEN --action query-tenants

# 查询数据源
python "$SCRIPT" --api-base $API --token $TOKEN --action query-datasources

# 查询定时任务
python "$SCRIPT" --api-base $API --token $TOKEN --action query-quartz-jobs

# 查询分类字典
python "$SCRIPT" --api-base $API --token $TOKEN --action query-categories --code B01

# 输出结果到 JSON 文件
python "$SCRIPT" --api-base $API --token $TOKEN --action query-roles --output roles.json

Read the full file on GitHub · 396 lines

Files

What ships with it

3 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. 10d ago First seen · 396 lines · 162 tokens per session scan A 67d5d53c75d2

Subscribe to this mod's changes

jeecg-system is a skill published in the GitHub repository jeecgboot/skills (227 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 162 tokens to every session and 4,836 once invoked, about $0.0008 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-30.

Related

Other skills, from other repositories

build-mcp-server

This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to Claude", "make an MCP app", or discusses building something with the Model Context Protocol. It is the entry point for MCP server development — it interrogates…

anthropics/claude-plugins-official · 111 tokens

data-manager-api-setup

Guides developers through client library installation and authentication setup steps for the Data Manager API. Use this skill when a user is getting started with the Data Manager API and needs to setup their local environment, install the client library, or setup access to the API. Don't use for implementing audience…

google/skills · 86 tokens

workers-best-practices

Cloudflare Workers best practices for production applications. Use when writing, reviewing, or configuring Workers.

cloudflare/skills · 25 tokens

new

Create a new project to start development quickly.

clacky-ai/openclacky · 10 tokens

skd-edit

A focused editor for 1C data composition schemas, the report definitions that describe queries, fields, filters, totals, and parameters. It changes an existing Template.xml file through specific operations.

Nikolay-Shirokov/cc-1c-skills · 55 tokens

skd-info

A structure reader for 1C data composition schemas, the report definitions that contain queries, fields, parameters, and display variants. It gives a compact summary instead of requiring you to read the raw XML.

Nikolay-Shirokov/cc-1c-skills · 52 tokens