skill-gen-4-enterprise-doc

skill-gen-4-enterprise-doc is a skill for Claude Code, Codex from XiaoLuoLYG/GOD. It costs 86 tokens per session (2,115 once invoked), scanned A, original, Apache-2.0.

A skill package that turns standard operating procedures, web pages, or stated workflows into installed skills for an AI coding agent.

In plain words
What is it for?
Use it to extract a procedure from a file, URL, or pasted text, generate a skill draft, and install the resulting package.
Why use it?
It structures informal instructions into a reusable package, reducing the work needed to make a workflow repeatable.

Skill for Claude CodeCodex

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

Good fit Use it to extract a procedure from a file, URL, or pasted text, generate a skill draft, and install the resulting package.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaoluolyg/god/skill-gen-4-enterprise-doc
About the project

GOD is a control room for observing and directing societies of language-model agents running in simulated worlds. It lets researchers inspect replays, question individual agents, alter future events, reset simulations, and export experiments for reuse. The catalogue entries are skills and agents for operating and investigating these simulations.

XiaoLuoLYG/GOD · 1,294 stars · on GitHub · xiaoluolyg.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 XiaoLuoLYG/GOD --skill skill-gen-4-enterprise-doc
Clone the repo
git clone --depth 1 https://github.com/XiaoLuoLYG/GOD

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 skill-gen-4-enterprise-doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaoluolyg/god/skill-gen-4-enterprise-doc/github.svg)](https://agentmods.dev/skills/xiaoluolyg/god/skill-gen-4-enterprise-doc)
Your own site
<a href="https://agentmods.dev/skills/xiaoluolyg/god/skill-gen-4-enterprise-doc"><img src="https://agentmods.dev/badge/skills/xiaoluolyg/god/skill-gen-4-enterprise-doc/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 skill-gen-4-enterprise-doc

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaoluolyg/god/skill-gen-4-enterprise-doc"><img src="https://agentmods.dev/badge/skills/xiaoluolyg/god/skill-gen-4-enterprise-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,115 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.00086 $0.02115
Opus 5.5 $0.00034 $0.00846
Sonnet 5.5 $0.00017 $0.00423
Haiku 4.5 $0.00009 $0.00212

Measured 18d ago against content hash 9fe36c7cdd4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skill-gen-4-enterprise-doc 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 18d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/skill_gen/__init__.py, scripts/skill_gen/models.py, scripts/skill_gen/sop_chunk_merge.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.

jiuwenclaw/jiuwenswarm/resources/agent/workspace/skills/skill-gen-4-enterprise-doc/SKILL.md · 57 lines

How it starts

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

Skill Generator (enterprise doc → installed skill)

Instructions here, reference/, and scripts/ (package scripts/skill_gen/). You obtain SOP plain text, run full structured extraction exactly as in reference/sop-structure-pipeline.md, author the package under get_agent_workspace_dir() / "skills-draft" (per reference/generator-worker-spec.md), then immediately promote it so the skill is installed and loadable (see reference/operator-playbook.md canonical flow).

What you do (high level)

  1. Plain text
    • Mandatory sequence when the user wanted a document but you still have no SOP plain text (wrong path, file not found, fetch failed, empty body, permission error, etc.):
      1. Recovery before fallback — Do not call build_intent_fallback_sop, build_fallback_sop_structure, or generate the installable skill from intent-only fallback in the same assistant turn as that failure. A missing file is only a failed first ingest; it is not “no document” yet. Send exactly one recovery message first (single reply): offer a corrected absolute path, URL, or paste—same menu and tone as reference/sop-recovery-and-interview-fallback.md Part 1—and wait for the user’s next message (or treat recovery as already done if one recovery was sent earlier in the thread and the user declined, ignored, or supplied material afterward).
      2. Fallback only after recovery — Only when recovery is complete (user gave path/URL/paste you can use, or declined/ignored after the one ask) and there is still no parseable SOP body, proceed to build_intent_fallback_sop / build_fallback_sop_structure below. Do not skip step (1) because you “already know” the path failed.
    • Local file → python3 <ABS>/scripts/skill_generator_cli.py sop-text --sop-file <abs-path> [--out-text <path>] or read the file in-tool; optional --print-raw-chars for length.
    • HTTP(S) / WeChat → url-fetch --url '…' [--out-json <path>] then use page text as the SOP body for extraction.
    • Pasted only — use the same string as input to parse_sop_raw_text (no skipping structured extraction).
    • No document after recovery — you must build the canonical object in code. Preferred (one call): await skill_gen.sop_fallback.build_intent_fallback_sop(user_intent=…, skill_name_hint=…, invoke_llm_json=…) — default: pass invoke_llm_json whenever the runtime can invoke the model: deterministic skeleton then internal LLM refine (enrich_fallback_sop_with_llm). Only if the system cannot call a model for this step, pass invoke_llm_json=None (skeleton only) or use skill_gen.sop_fallback.build_fallback_sop_structure on sync-only paths (same shape; no enrich). Same SOPStructure fields as extraction (title, purpose, scope, roles, steps, knowledge_items, sections, decision points, exceptions, references, plus synthesized raw_text). Do not call parse_sop_raw_text on empty text; do not hand-write a “representative” or illustrative SOP in prose instead of running the fallback—downstream drafting depends on the real SOPStructure and extraction_meta. Treat extraction_meta["fallback_sop"] as “template only” in the generated skill body. Still no real SOP after LLM polish: keep fallback_sop semantics and do not treat output as audited policy.
  2. Structured SOP (required) → Either skill_gen.sop_parser.parse_sop_file / parse_sop_raw_text with invoke_llm_json when you have SOP plain text, or when you do not: await skill_gen.sop_fallback.build_intent_fallback_sop(..., invoke_llm_json=…) with invoke_llm_json whenever the runtime can invoke the model (default: skeleton + internal enrich); invoke_llm_json=None or build_fallback_sop_structure only when the system cannot (single path; sop-structure-pipeline.md).
  3. Draft package → under get_agent_workspace_dir() / "skills-draft" / <skill_name> (when the host exposes that helper) or the equivalent agent-workspace path from the system prompt: SKILL.md (YAML frontmatter first) plus optional reference/, per generator-worker-spec.md. Create skills-draft next to the runtime skills/ folder if it does not exist.
    • Intent-only snapshot (required when fallback) — If extraction_meta["fallback_sop"] is true (intent-only / template path), you must add reference/intent-sop-snapshot.md in that draft folder. Start with a short warning block (this is not an authoritative enterprise SOP; synthesized from stated intent and optional LLM refine; provisional until a real document is attached). Then include the verbatim SOPStructure.raw_text from the structured object you used for drafting so reviewers can see exactly what the fallback produced.
  4. Install in the same workflow → Call skills.import_local with path = absolute path to that draft directory (folder containing SKILL.md). Use force: true if get_agent_skills_dir() / <skill_name> already exists and should be replaced. Do not stop after step 3 and ask the user to import manually; promotion is part of this skill’s default completion.

Read the full file on GitHub · 57 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. 18d ago Changed · +6 lines 9fe36c7cdd4e
  2. 2mo ago First seen · 51 lines · 86 tokens per session scan A 391621e32b0b

Subscribe to this mod's changes

skill-gen-4-enterprise-doc is a skill published in the GitHub repository XiaoLuoLYG/GOD (1,294 stars, last pushed 6d ago), licensed Apache-2.0. It adds 86 tokens to every session and 2,115 once invoked, about $0.0003 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-09-03.

Related

skill-gen-4-enterprise-doc compared with skills from other repositories

skill-gen-4-enterprise-doc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skill-gen-4-enterprise-docXiaoLuoLYG/GODSkill1.3k6d agoApache-2.0A86Claude Code, Codex
canopykruslim/canopySkill14mo agononeA0Claude Code, Codex
create-tech-designhumanlayer/humanlayerSkill13k8d agoApache-2.0A16Claude Code, Codex
iterate-tech-designhumanlayer/humanlayerSkill13k8d agoApache-2.0A16Claude Code, Codex
iterate-implementationhumanlayer/humanlayerSkill13k8d agoApache-2.0A16Claude Code, Codex
agent-in-the-loopsamugit83/redamonSkill3.6k2d agoMITA150Claude Code, Codex
tencent-ima-wikizj-unicom-ai/UniEmployeeSkill88710d agoMITA127Claude Code, Codex