Olav Skills
Olav Skills pairs seven standard network-analysis skills with a standalone Python runtime. Use its CLI directly to import offline captures, query recorded data, inspect topology, compare snapshots and produce evidence. An existing AI harness can discover the skills and invoke those tools within its own model, conversation and permissions.
This repository is the maintained source of the standalone product. The new distribution is olav-skills, its Python namespace
is olav_skills, and its command is olav-skills. The former olav and
olav-netops Python distributions are not dependencies.
Olav Skills 0.2
Use the CLI to check data readiness, query a specific snapshot and pre-check a
draft change plan against recorded evidence. The pre-check always returns
not_approved. An engineer or the host drafts the plan. The
local wheel walkthrough demonstrates these steps
with synthetic data.
Local package checks covered installation layouts and specified scripts. Natural questions in the tested Pi setup failed qualification, including the held-out wording. Codex and Claude Code natural questions were untested. See compatibility.
In 0.2.1, all seven bundled skills use English instructions and ask the host to answer in the user's language unless the user requests another. An integration's own interface strings and response templates have their own language settings.
Install 0.2.1
Public source: james-olavai/olav-skills.
Use Python 3.11 or newer. Create and activate a dedicated environment, then install the package from PyPI:
python3 -m venv ~/.venvs/olav-skills
. ~/.venvs/olav-skills/bin/activate
python -m pip install olav-skills==0.2.1
Next, bind the bundled skills to your harness. Choose one:
olav-skills install --harness codex --scope user
olav-skills install --harness claude-code --scope user
olav-skills install --harness pi --scope user
Pip installs the Python tools and all seven skills into the venv. The binding command copies those skills into the chosen harness's discovery directory and records this venv's interpreter. Keep the venv at its bound path. After changing versions or moving environments, explicitly repeat the binding command from the intended venv. Rolling back the binding leaves database changes in place.
Check the installed environment with olav-skills version, olav-skills doctor
and olav-skills list.
The distribution includes the seven skills and a public synthetic example. Follow installation for Codex, Claude Code and Pi; then run the offline data walkthrough for validation, import, exact device membership, topology and an evidence report. See migration before replacing a legacy installation, and portable export for knowledge-only handoff.
Package tests establish deterministic execution and installation layout. Actual harness discovery, natural-language routing and model answers need separate validation.
Skills
| Skill | Responsibility |
|---|---|
netops |
Skill navigation, shared network evidence and snapshot/config differences |
importer |
Import offline bundles and build a local queryable snapshot |
analyzer |
Bounded queries, device/interface inspection and change-plan preparation |
topology |
Recorded BGP, OSPF and L2 topology and reusable recipes |
reporter |
Investigation evidence, comparisons and report preparation |
writer |
Topology artifacts including draw.io, Mermaid and SVG |
learner |
Prepare and validate parsers for previously unsupported CLI output |
Scripts accept one JSON object on stdin. Run them using the installed
olav-skills run <skill> <script> dispatcher and its bound Python environment;
the walkthrough gives executable examples. Set OLAV_HOME explicitly before
importing or querying. The existing .olav layout is retained, but historical
database compatibility requires testing on an authorized copy.
Snapshots are recorded evidence, not live inventory. Preserve unknown roles, missing timestamps, absent topology layers and query truncation in findings.
The collector is a separate product. No device access, model credentials, enterprise permissions or service access is granted by installing skills.
Maintained source
src/olav_skills/: library, management CLI and required package data.skills/: standard skill resources and executable entry scripts.tools/: exports built from this repository, without the former platform checkout.tests/: synthetic fixtures and regression tests.provenance/: source extraction mapping and hashes.docs/: public technical documentation for this product.
The first extraction used the former platform's official generator in a scratch
directory. Subsequent changes belong here. Do not regenerate the old public pack
over this source repository. The repository history preserves the previous
generated layout, including its separate runtime/ installer.
The old platform's API-client and DuckLake server profiles, deployed Open WebUI product and public documentation site have separate migration gates. This package also supplies its own bounded portable knowledge exporter; see its separate contract. This native package does not replace them or claim their acceptance.
Deterministic capabilities in 0.2
These additions and updated contracts apply to Olav Skills 0.2.
-
Data readiness:
olav-skills doctor --data --project /absolute/projectinspects an explicitly selected native project without changing it. See data readiness. -
Recorded state changes:
olav-skills run reporter compare_statecompares supported historical parsed-record sources between two explicit snapshots. See state differences. A record disappearing does not establish a real link failure or route withdrawal. -
Plan pre-check:
olav-skills run analyzer check_change_planreports individual checks and evidence gaps. See plan pre-check. This does not approve execution or provide configuration simulation. -
Parser versions and derived replay: learner
manage_parserandreparse_snapshotadd explicit validation/activation/rollback and offline derived outputs. See parser lifecycle. -
Full file export: analyzer
export_querypins its source and reports completeness/resume status. See full export. -
Reviewed evidence files: reporter
evidence_bundlepackages selected files, checks integrity and rechecks freshness. See evidence delivery. -
Recorded investigation: analyzer
run_investigationprovides fixed inventory/interface/BGP recipes with explicit unknown states. See investigation recipes. -
Native contracts: IOS/Junos parser, query and historical state semantics use the same state contract.
-
Historical config: netops
diff_configsnow requires precise recorded sources and preserves ordered semantic groups; see config differences. -
Route changes and counter deltas: reporter
compare_routesandcompare_countersexpose supported route profiles and counter/time evidence. -
One-time audits: reporter
run_auditapplies reviewed fixed profiles without scheduling. -
Report review: reporter
lint_reportchecks explicit claim/citation/evidence bindings and reports coverage gaps; see citation checks. It does not certify natural-language claims or caller-provided source authenticity. -
Topology content: reporter
compare_topologycompares exact recorded snapshots, preserving endpoint interfaces and parallel links; see topology changes. Missing observations are not proof of physical link failure. -
Historical graph paths: topology
inspect_pathretains interface-level parallel links and bounded enumeration; see topology paths. Recorded candidates do not establish forwarding or ECMP. -
Metric baselines: analyzer
analyze_baselineseparates reviewed historical intervals from a target interval with fixed metrics and clock/reset checks; see metric baselines. Percentiles are statistical references for observed net deltas, not health certification. -
OSPF observations: analyzer
analyze_ospfinspects supported captured neighbor states and compares qualified historical records; see OSPF analysis. Routing context gaps remain unknown. -
Audit evidence: analyzer
check_evidencechecks an explicit device/command list, capture-time policy and historical raw/parsed bindings; see evidence readiness. Native CLI imports in 0.2 retain new raw capture provenance transactionally; old missing history is not reconstructed.run_auditcan require this gate and run an explicit OSPF profile without expanding its default three checks.
These are native deterministic entry points. A host still authorizes its actual tools; adding a script to the package does not register an Open WebUI tool or establish natural-language routing in every harness.
Documentation site
The public manual is maintained in this repository's docs/, with English
and Chinese pages and an explicitly marked legacy archive. Build it without
the former platform checkout:
python3 -m venv /absolute/path/to/docs-venv
/absolute/path/to/docs-venv/bin/python -m pip install -r requirements-docs.txt
/absolute/path/to/docs-venv/bin/python -B tools/build_docs.py
This creates site/, including checked compatibility pages for old documentation
URLs. The builder refuses to clean an unrelated nonempty output directory.
wrangler.docs.toml names the existing documentation app; no publication or
service switch is performed by the build. Historical source and route provenance
are recorded separately from current Skills capability claims.
License
The existing LICENSE and its terms are preserved. Public source availability and Python packaging do not change the applicable license or the permissions granted by it.
Metadata
Release files for olav-skills 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| olav_skills-0.2.1.tar.gz | 1.1 MB | Without provenance | Details for olav_skills-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| olav_skills-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for olav_skills-0.2.1-py3-none-any.whl |
Total release size: 1.8 MB
Release files / olav_skills-0.2.1.tar.gz
| Download URL | olav_skills-0.2.1.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82f0989d67bcdf49a848720761194f31da65a7c70916614e3c61a494f76e7c6e
|
|
BLAKE2b-256 checksum How to use checksums |
6989cc0e398abf1b22e33d2d43644de15903a29e69100101878b9cc132001c96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / olav_skills-0.2.1-py3-none-any.whl
| Download URL | olav_skills-0.2.1-py3-none-any.whl |
|---|---|
| Size | 706.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
676928f9a3694914eb16253518bf4d663d3f7d1cb0af8d5781f8df788729e5d0
|
|
BLAKE2b-256 checksum How to use checksums |
4b8c158db1ce42a313b8c0644f086d3118d27e9448172583632a492a37678e3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for olav-skills 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.