Borrowing it
Nothing to install: this file belongs to oryx-labs/oryxos. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/oryx-labs/oryxos/main/.claude/skills/oryxos-init/SKILL.mdgit clone --depth 1 https://github.com/oryx-labs/oryxosWrote 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.
[](https://agentmods.dev/skills/oryx-labs/oryxos/oryxos-init)<a href="https://agentmods.dev/skills/oryx-labs/oryxos/oryxos-init"><img src="https://agentmods.dev/badge/skills/oryx-labs/oryxos/oryxos-init/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.
<a href="https://agentmods.dev/skills/oryx-labs/oryxos/oryxos-init"><img src="https://agentmods.dev/badge/skills/oryx-labs/oryxos/oryxos-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00165 | $0.02700 |
| Opus 5 | $0.00082 | $0.01350 |
| Sonnet 5 | $0.00033 | $0.00540 |
| Haiku 4.5 | $0.00016 | $0.00270 |
Grade A, and why
oryxos-init 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OryxOS 项目初始化 Skill
把"工程地基"一次性、标准化地装好——业务逻辑(五大核心能力)不在本 skill 范围内。
什么时候用
- 新建 OryxOS 仓库、或给空仓库起工程骨架时
- 要给项目补齐日志 / 监控 / API 规范 / 开发规范 / 安全检查时
- 任何 JDK 21 + Spring Boot 3.x 的企业级单体,想一次到位地装好工程地基时
不做什么(边界)
- 不实现五大核心能力(Provider / ReAct / Memory / Tool / Web)——那是业务模块,走 Spec-Kit 的 user story 拆解
- 不硬编码任何密钥 / token / API key——一律用环境变量占位(
${ENV_VAR}) - 不替换已存在的业务代码;只新增基础设施与配置
前置约定(来自 OryxOS constitution)
实施前确认这些硬约束,写进配置:
- JDK 21、Spring Boot 3.x、Maven 多模块、单二进制(fat JAR)部署
- HTTP 层用 Spring MVC + Java 21 虚拟线程(不引入响应式)
- 持久化 SQLite + Spring Data JPA;长期记忆走 MEMORY.md(本 skill 只配数据源,不建业务表)
- 审计表
tool_invocations/llm_calls的建表脚本预留位(day one 落库) - 代码必须过 Google 格式 + 阿里编码规约 + 安全扫描,才能合并
初始化步骤(按顺序执行,每步完成后 git commit)
0. 确认参数
向用户确认:groupId、根 artifactId、模块清单(默认 OryxOS 9 模块)、端口(默认 8080)、JDK(21)。
1. Maven 多模块骨架
建父 pom.xml(packaging=pom,统一版本管理)+ 9 个子模块:
oryxos-core、oryxos-provider、oryxos-memory、oryxos-tool、oryxos-web、
oryxos-storage、oryxos-boot、oryxos-cli、oryxos-channel-cli。
oryxos-boot 为启动模块(含 main),打 fat JAR。
2. 基础依赖与版本管理(父 pom dependencyManagement / pluginManagement)
固定 Spring Boot BOM、Spring AI Alibaba BOM、SQLite JDBC、Picocli、SnakeYAML、 logstash-logback-encoder、springdoc 等版本。具体版本号以实施时最新稳定版为准,先锁定再开发。
3. 日志(结构化)
oryxos-boot/src/main/resources/logback-spring.xml:
- 开发环境:彩色 console pattern
- 生产环境(profile=prod):JSON 输出(
LogstashEncoder),带traceId(MDC) - 统一通过 SLF4J 打日志,禁止
System.out
4. 监控(Actuator + Micrometer + Prometheus)
依赖:spring-boot-starter-actuator、micrometer-registry-prometheus。
application.yaml:
management:
endpoints.web.exposure.include: health,info,prometheus,metrics
endpoint.health.probes.enabled: true
metrics.tags.application: oryxos
暴露 /actuator/health、/actuator/info、/actuator/prometheus。
5. HTTP Server(Spring MVC + 虚拟线程)
依赖:spring-boot-starter-web。application.yaml:
server.port: 8080
spring.threads.virtual.enabled: true # JDK 21 虚拟线程,单机扛高并发
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.
- 9d ago First seen · 192 lines · 165 tokens per session scan A 17ed28dae29a
oryxos-init is a skill published in the GitHub repository oryx-labs/oryxos (156 stars, last pushed today), licensed Apache-2.0. It adds 165 tokens to every session and 2,700 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.
Other skills, from other repositories
zcfg
Integrate zcfg (Zero Dependency Configuration Utility) into Java applications. Use when adding configuration loading, reading properties files, setting up application configuration, or integrating zcfg into a Java project. Triggers on "zcfg", "add configuration", "load properties", "application configuration with…
agentscope-java
Expert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or…
microprofile-server
Architecture and coding rules for long-running Java MicroProfile / Jakarta EE server applications — BCE layering, business components (BC), JAX-RS resources, CDI, JSON-P, testing (unit/integration/system), and Maven project structure. Use when creating, generating, scaffolding, writing, or reviewing code, resources…
scraperapi-java-sdk
Best-practices reference for the ScraperAPI Java SDK (com.scraperapi:sdk Maven artifact). Consult whenever the user is writing, debugging, or reviewing Java code that calls ScraperAPI. Use when user asks: "scrape a website with Java and ScraperAPI", "ScraperAPI Java example", "how do I add ScraperAPI to my Maven…
dev-java
Use when Java source or Java-owned Maven/Gradle configuration must be implemented, migrated, or refactored across Spring services, HTTP/security boundaries, explicit code-first or contract-first OpenAPI, persistence, transactions, messaging, scheduling, caches, tests, or configuration; owns source edits and…
http-client-migration
Flawed HTTP client migration procedure requiring patch.