Olav Skills
Olav Skills is the Python toolkit behind OLAV’s offline network analysis workflow. Network operations and NetDevOps teams use it to query device inventories, inspect recorded topology, compare snapshots, pre-check draft changes and produce reports with source evidence. The CLI and nine Agent Skills work with a local DuckDB database.
Website · Documentation · 中文文档 · PyPI · Browser demo
Collect device output in the authorized environment, then transfer a reviewed offline bundle to the analysis environment. The collector is a separate tool. Device credentials stay on the collection side. Architecture and data flow
Current release
Olav Skills 0.3.0 adds two
skills for host-bound services. api-query reads NetBox sites, devices and
interfaces and reconciles registered names with a recorded snapshot.
simulator compares concrete packets in two prepared Batfish models and needs
the optional simulator extra. Reporter can draft and preview audit profiles,
and analyzer can review interface and BGP observations in one snapshot. Query
and reconciliation results state per-device coverage and unknown values.
Release notes
The Python distribution and command are both olav-skills. The Python namespace
is olav_skills. See the migration guide
if you use the earlier olav or olav-netops distributions.
Install 0.3.0
Use Python 3.11 or newer and a dedicated environment:
python3 -m venv ~/.venvs/olav-skills
. ~/.venvs/olav-skills/bin/activate
python -m pip install olav-skills==0.3.0
olav-skills version
olav-skills doctor
olav-skills list
For configuration-change simulation, install olav-skills[simulator]==0.3.0
instead.
Try a synthetic snapshot
Run the packaged example in a new analysis directory:
analysis_dir=$(mktemp -d)
python -I -B -m olav_skills.examples.synthetic_walkthrough --home "$analysis_dir"
The example validates and imports an offline bundle, checks the exact device set R1/R2, and writes a topology artifact and a source-linked report. It runs without model credentials or device access. Offline walkthrough
Connect your harness
Choose the binding command for your harness:
olav-skills install --harness codex --scope user
olav-skills install --harness claude-code --scope user
olav-skills install --harness pi --scope user
OpenCode can discover the skills installed through the Codex-compatible
.agents/skills/ layout. Install from the intended Python environment, then
repeat the binding after upgrading the package or moving the environment.
Installation and project scope ·
Compatibility ·
OpenCode skill discovery
For OLAV’s local AI workflows, Gemma 4 31B IT or Qwen3.8-27B is the minimum recommended model. The CLI can also run the packaged tools directly. Minimum models and test notes
Try the browser demo
The public Demo uses Open WebUI and two synthetic networks. Request access by email, set a password from the one-time link, and select a tenant in the model picker to try inventory, topology or report queries. Demo welcome page · Demo walkthrough · Open WebUI guide
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 |
api-query |
Read a host-bound NetBox service and reconcile registered assets with a snapshot |
simulator |
Compare concrete packets in two host-prepared Batfish models |
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. The NetBox and Batfish skills run only with a service, credentials and scope that the host binds; see NetBox inventory and configuration-change simulation.
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.3.0
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.3.0.tar.gz | 1.2 MB | Without provenance | Details for olav_skills-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| olav_skills-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for olav_skills-0.3.0-py3-none-any.whl |
Total release size: 1.9 MB
Release files / olav_skills-0.3.0.tar.gz
| Download URL | olav_skills-0.3.0.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e135dff79c13c579c0386c552802d18659f2550b46fb9cb230bc4485d40c50c
|
|
BLAKE2b-256 checksum How to use checksums |
5765ebb888222b4ef8209c6f56d5e812fe3d8133bf1129e24f4aa9d981a99d35
|
| 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.3.0-py3-none-any.whl
| Download URL | olav_skills-0.3.0-py3-none-any.whl |
|---|---|
| Size | 735.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91518662961d623eeae3e7384099367a23fe1231c0eff9b0090478d08243e923
|
|
BLAKE2b-256 checksum How to use checksums |
aed0e480c2ca9bc7601403fd5f8041c2286e6df77ae9d8522daeb2271e5170a8
|
| 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.3.0
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.