Back to the catalog

okf-knowledge — Knowledge Bundle (dogfood)

Bundle OKF 0.1 · 3 conceitos · amichne/slopsentral

Open source Repository Open in the app JSON README (API)

About

# okf-knowledge — Knowledge Bundle (dogfood)

This bundle documents **okf-knowledge itself** — built with the very format it ships.
Start with the [overview](/overview.md).

## Sections

* [Systems](/systems/index.md) — the `/okf` command and the scripts
* [Reference](/reference/index.md) — the OKF rules this tool enforces
* [Design decisions](/decisions/index.md) — why it is built the way it is

Details

Kind
OKF bundles
Topic
No topic detected
Publisher
amichne
Origin
okf_github
Category
dados
Version
0.1
Open pull requests
5
Last push
2026-09-08T22:40:30Z
Repository state
ativo
Language
Python
Added
2026-09-08 09:05:43
Updated
2026-09-08 09:05:43
Origin id
amichne/slopsentral:source/skills/okf/resources/self-bundle/index.md

README

# Slopsentral

Slopsentral is the canonical marketplace for reusable local AI tooling skills,
plugins, hooks, agents, concepts, and workflow profiles.

## Choose a Workstream

Start with the [generated catalog](source/CATALOG.md). The
[architecture](source/ARCHITECTURE.md) defines one owner per primitive, and the
[migration guide](source/MIGRATION.md) records renamed and retired entrypoints.
[Upstream provenance](source/UPSTREAM.md) records the Astra and skill reviews.

Inspect a profile without installing or executing anything:

```bash
node source/tools/catalog.mjs --profile kotlin-repo-default --json
```

## Source Of Truth

- Edit authored primitives under `source/`.
- Keep routing and quality evaluation cases under `source/evals/`; they are
  source evidence, not generated marketplace output.
- Keep source-graph schemas under `source/schemas/` and reusable validation
  utilities under `source/tools/`.
- Keep generated provider output off the source branch; consume it from the
  dedicated harness branches below.
- Prefer this repository over installed plugin caches such as
  `~/.codex/plugins/cache`.
- Do not re-own first-party or system skills here. Reference upstream
  distributions or author local rewrites with non-colliding names.

## Published Harnesses

| Harness | Branch | Marketplace entrypoint |
|---|---|---|
| Codex | [`harness/codex`](https://github.com/amichne/slopsentral/tree/harness/codex) | `.agents/plugins/marketplace.json` |
| GitHub Copilot | [`harness/github-copilot`](https://github.com/amichne/slopsentral/tree/harness/github-copilot) | `.github/plugin/marketplace.json` |

The `Publish Harnesses` workflow projects validated source with projeKtor and
replaces only the matching output branch. Each artifact commit records the
canonical `main` commit it was generated from.

## Standalone Skills

Install one marketplace-listed skill into `${CODEX_HOME:-$HOME/.codex}/skills`
without installing a plugin:

```bash
source/tools/install-skill pkl-engineering
source/tools/install-skill pkl-tooling-setup
source/tools/install-skill pkl-specification
source/tools/install-skill pkl-pattern-catalogs
```

The command copies a real skill directory and is an idempotent no-op when the
installed copy is current. It refuses to overwrite a different existing copy;
use `--force` only when replacement is intentional.

## Pkl Engineering Plugin

Install the complete Pkl workflow from the configured `slopsentral`
marketplace:

```bash
codex plugin add pkl-engineering@slopsentral
```

The plugin composes independently installable skills for engineering,
toolchain/LSP setup, specification and official-source navigation, and pattern
catalogs. It also provides Pkl format, explicit-entrypoint evaluation, and
sandboxed test hooks. Repositories using the evaluation hook declare directly
evaluable modules one per line in `.intelligence/pkl-entrypoints`.

## Validation

```bash
node source/tools/validate-source-graph.mjs
node source/tools/catalog.mjs --check
node source/tools/run-routing-evals.mjs
node source/tools/run-routing-evals.mjs --require-all-observed
source/tools/compile-kotlin-concepts
projeKtor project --source . --harness codex --out /tmp/slopsentral-codex
projeKtor project --source . --harness github-copilot --out /tmp/slopsentral-github-copilot
git diff --check
```

Use the default routing eval command as the daily-driver production gate. Use
`--require-all-observed` when promoting the full routing corpus; it fails when
any routing case lacks a replay observation.
Record real rollout and session evidence in
`source/evals/routing/field-observations.json`; source validation checks that
each observation points at an existing routing case and remains sanitized.

Each marketplace plugin has one benchmark definition in
`source/evals/plugin-benchmarks/`. Source validation requires a matching file,
a routed scenario, a disposable workspace, and non-interactive local approval.
These files are published benchmark definitions. They are not benchmark
results.

Run live benchmarks manually. Plugin Eval 0.1.2 starts a real `codex exec` and
does not have a dry-run mode. CI validates the definitions but does not execute
them. Use a temporary materialized plugin target and keep usage, result, log,
and report files in a temporary directory. Do not commit `.plugin-eval/` or raw
benchmark files. Raw files can contain prompts, response identifiers, commands,
and local paths. Do not permit remote writes unless the user approved a
disposable remote target for that run. `approvalPolicy: never` does not grant
remote-write authority.

After an authorized run, pass only its generated token-usage JSONL to
`plugin-eval analyze --observed-usage`. Chat-history demand counts are routing
evidence, not observed token usage.

More