Skip to content

maxwellokumu/okaudit-claude-skills / hardware-physical/asset-validator

asset-validator

Verified

Reconcile authorized inventory against discovered devices so Claude can explain rogue assets, ghost assets, and inventory coverage gaps clearly.

FileKindSize
README.mdmarkdown1.5 KB
SKILL.mdskill md1.6 KB
main.pyscript12.8 KB
sample_input/asset_inventory.csvother1.1 KB
sample_input/discovered_assets.csvother1.0 KB
skill.yamlconfig947 B
# asset-validator

Reconcile your authorised IT asset inventory against a network-discovered device list to surface **ghost assets** (inventory entries not found on the network) and **rogue assets** (unauthorised devices found on the network).

## Requirements

- Python 3.8+
- No external dependencies (stdlib only)

## Usage

```bash
python main.py \
  --inventory sample_input/asset_inventory.csv \
  --discovered sample_input/discovered_assets.csv
```

### Options

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--inventory` | ✅ | — | Path to authorised asset inventory CSV |
| `--discovered` | ✅ | — | Path to network-discovered assets CSV |
| `--output` | | `markdown` | Output format: `markdown` \| `json` \| `csv` |

### CSV Schema (both files)

```
asset_id,hostname,type,location,owner,last_seen
```

## Sample Output

```
# Asset Validation Report

**Generated:** 2024-06-01 10:00 UTC
**Inventory Size:** 20
**Coverage:** 85.0%

## Summary

| Category | Count | % of Total |
|----------|-------|------------|
| Matched  | 16    | 80.0%      |
| Ghost    | 2     | 10.0%      |
| Rogue    | 2     | 10.0%      |

## Rogue Assets (2 — Discovered, Not in Inventory)

| Asset ID   | Hostname      | Type        | Location  | Risk Level   |
|------------|---------------|-------------|-----------|--------------|
| ROGUE-001  | unknown-srv-1 | server      | DC-Floor2 | **Critical** |
| ROGUE-002  | pi-unknown    | iot         | Office-B  | **High**     |
```
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall