Skip to main content

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.

Install 0.2.0

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.0

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/project inspects an explicitly selected native project without changing it. See data readiness.

  • Recorded state changes: olav-skills run reporter compare_state compares 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_plan reports 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_parser and reparse_snapshot add explicit validation/activation/rollback and offline derived outputs. See parser lifecycle.

  • Full file export: analyzer export_query pins its source and reports completeness/resume status. See full export.

  • Reviewed evidence files: reporter evidence_bundle packages selected files, checks integrity and rechecks freshness. See evidence delivery.

  • Recorded investigation: analyzer run_investigation provides 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_configs now requires precise recorded sources and preserves ordered semantic groups; see config differences.

  • Route changes and counter deltas: reporter compare_routes and compare_counters expose supported route profiles and counter/time evidence.

  • One-time audits: reporter run_audit applies reviewed fixed profiles without scheduling.

  • Report review: reporter lint_report checks 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_topology compares 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_path retains interface-level parallel links and bounded enumeration; see topology paths. Recorded candidates do not establish forwarding or ECMP.

  • Metric baselines: analyzer analyze_baseline separates 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_ospf inspects supported captured neighbor states and compares qualified historical records; see OSPF analysis. Routing context gaps remain unknown.

  • Audit evidence: analyzer check_evidence checks 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_audit can 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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for olav-skills 0.2.0
File Size Uploaded Provenance Actions
olav_skills-0.2.0.tar.gz 1.1 MB Without provenance Details for olav_skills-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for olav-skills 0.2.0
File Interpreter ABI Platform Actions
olav_skills-0.2.0-py3-none-any.whl Python 3 none any Details for olav_skills-0.2.0-py3-none-any.whl

Total release size: 1.8 MB

Release files / olav_skills-0.2.0.tar.gz

Download URL olav_skills-0.2.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
29deb055403686b13b53830a099c956acef7bbdc9106e20862e084246abf73a4
BLAKE2b-256 checksum
How to use checksums
4b76a07a4be011438059a9aa612c3ed255fd8a4b1f7f406606847d6510c9e5a6
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.0-py3-none-any.whl

Download URL olav_skills-0.2.0-py3-none-any.whl
Size 706.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
abaa285e511621713d7aadaa9bfb72eaa6b12bd236919f50e65ce59ec51208fe
BLAKE2b-256 checksum
How to use checksums
1fdd79a7b48b77f8e8c4712192115772e91c1718a63a1eca1ce128a0c8f9a33d
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.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page