advanced-runtime-compilation

A method for compiling and running code while a program is already running, often to create behavior dynamically.

In plain words
What is it for?
Use it for runtime-generated code and dynamic program behavior, then test compilation errors and security risks.
Why use it?
It helps when fixed, precompiled code cannot cover every behavior, while requiring code checks and security testing.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/lgrappag/workflows-agents/advanced-runtime-compilation
Any agent
npx skills add LgrappaG/Workflows-Agents --skill advanced-runtime-compilation
Clone the repo
git clone --depth 1 https://github.com/LgrappaG/Workflows-Agents

Made for: Claude Code, Codex.

Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 242 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00012 $0.00242
Opus 5 $0.00006 $0.00121
Sonnet 5 $0.00002 $0.00048
Haiku 4.5 $0.00001 $0.00024

Measured 2d ago against content hash 289b497260d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

advanced-runtime-compilation 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 2d 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.

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/advanced-runtime-compilation/SKILL.md · 49 lines

What it actually says

Advanced Runtime Compilation

Implement runtime code compilation for dynamic behavior

Risk Level

HIGH

Core Rules

  • Validate code
  • ensure security
  • Test thoroughly before deploying

Response Pattern

When Using This Skill

  1. Implement compilation
  2. Validate the implementation
  3. Test edge cases and error conditions
  4. Ensure performance meets requirements

Usage Contexts

  • Dynamic code
  • runtime generation

What NOT to Do

  • Compilation errors
  • security issues
  • Deploy without testing

Key Requirements

  • Understand the use cases before application
  • Follow the documented response pattern
  • Validate results in the target environment
  • Monitor for performance impact

Further Learning

Review related skills and documentation for deeper understanding of related systems and best practices.

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. 2d ago First seen · 49 lines · 12 tokens per session scan A 289b497260d9

Subscribe to this mod's changes

advanced-runtime-compilation is a skill published in the GitHub repository LgrappaG/Workflows-Agents (2 stars, last pushed 4mo ago), licensed MIT. It adds 12 tokens to every session and 242 once invoked, about $0.0001 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

skill-creator

Create or improve Zhin Agent skills (SKILL.md). Use when asked to add a skill, write SKILL.md, document a repeatable agent workflow, or refine skill frontmatter/keywords. Triggers: 创建技能, 写 SKILL, skill-creator, 加 skill.

zhinjs/zhin · 61 tokens

investigation-first

触发:当你准备下判断、做决策或提出建议,但事实、上下文或一手信息还不充分时优先调用;常见信号包括 unknowns、信息缺口、证据不足、领域陌生、需要先摸清现状。 English: Trigger before making claims or decisions when context is incomplete, evidence is weak, or the domain is unfamiliar. Use this skill to investigate first, gather firsthand facts, and let reality shape the conclusion.

HughYau/qiushi-skill · 104 tokens

overall-planning

触发:当你需要在多个目标、利益方或相互制约的指标之间做动态平衡时调用;常见信号包括 trade-offs、目标冲突、系统性约束、优化一项会伤害另一项。 English: Trigger when several important goals must be advanced together and optimizing one dimension can damage another. Use this skill to map the key relationships, avoid one-sided decisions, and balance the system as a whole.

HughYau/qiushi-skill · 98 tokens

practice-cognition

触发:当你提出了方案、假设或判断,需要通过实践验证、试错迭代或复盘升级认知时调用;常见信号包括 experiment、prototype、validate、iterate、feedback loop。 English: Trigger when an idea, hypothesis, or plan must be tested in practice and improved through iteration. Use this skill to move from action to understanding and back to action in a spiral learning loop.

HughYau/qiushi-skill · 92 tokens

refactor

Expert code refactoring based on Martin Fowler's catalog — improve maintainability without changing behavior. Covers code smells, composing methods, moving features, organizing data, simplifying conditionals, method calls, and generalization. Triggers on: refactor, 重构, clean up, improve code, code smell, extract…

smallnest/goal-workflow · 71 tokens

to-issues

Decompose a PRD and/or SPEC into implementable, vertically-sliced Issues with real blocking edges, then create them in your chosen platform (GitHub or Local). Use after /prd (and optionally /prd-to-spec) to turn requirements into agent-ready tickets. Triggers on: create issues, to-issues, 创建issue, 拆解issue, 生成卡片, 创建卡片…

smallnest/goal-workflow · 96 tokens