aminet-browser
Aminet search and browse: full-text search, category tree navigation, architecture filtering, package detail, and curated collections. Use when searching,…
Multi-layer virus scanning for Aminet packages. Signature-based detection, heuristic hunk analysis, boot block scanning, quarantine management, and scan orchestration. Use when scanning packages, checking virus status, or managing quarantine.
$ npx -y skills add Tibsfox/gsd-skill-creator --skill aminet-scanner --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/aminet-scannerContext preview
The summary Claude sees to decide when to auto-load this skill.
Multi-layer virus scanning for Aminet packages. Signature-based detection, heuristic hunk analysis, boot block scanning, quarantine management, and scan orchestration. Use when scanning packages, checking virus status, or managing quarantine.
name: aminet-scanner
description: "Multi-layer virus scanning for Aminet packages. Signature-based detection, heuristic hunk analysis, boot block scanning, quarantine management, and scan orchestration. Use when scanning packages, checking virus status, or managing quarantine."
metadata:
extensions:
gsd-skill-creator:
triggers:
intents:
- "scan.*aminet|aminet.*scan"
- "virus.*check|check.*virus"
- "quarantine"
- "heuristic.*scan"
files:
- "src/aminet/signature-scanner.ts"
- "src/aminet/heuristic-scanner.ts"
- "src/aminet/scan-orchestrator.ts"
- "src/aminet/quarantine.ts"
- "src/aminet/signature-db.ts"
contexts:
- "aminet virus scanning"
- "package security"
threshold: 0.7
token_budget: "1.5%"
version: 1
enabled: true
plan_origin: "242-aminet-integration"
phase_origin: "242"Provides multi-layer virus scanning for Aminet packages targeting the Amiga malware landscape. Combines signature-based detection (52 virus signatures in ClamAV .ndb format), heuristic analysis of hunk structures and boot blocks, quarantine management with atomic file isolation, and a scan orchestrator that coordinates all layers into unified scan reports with configurable depth levels.
| Module | Purpose | |--------|---------| | `src/aminet/signature-db.ts` | 52 virus signatures in 3 JSON files with last-wins deduplication | | `src/aminet/signature-scanner.ts` | Context-aware hex pattern matching with wildcard bitmasks | | `src/aminet/heuristic-scanner.ts` | 8 heuristic rules for hunk and boot block analysis | | `src/aminet/quarantine.ts` | Atomic file isolation with metadata sidecars and restore | | `src/aminet/scan-orchestrator.ts` | Coordinates all scan layers into unified ScanReport | | `src/aminet/emulated-scanner.ts` | FS-UAE + CheckX emulated scanning with timeout control |
**Quick signature scan:**
import { scanBuffer } from './signature-scanner.js';
const result = scanBuffer(fileBuffer, { context: 'hunk' });
// result.verdict: 'clean' | 'suspicious' | 'infected'
// result.findings: matched signature details**Full orchestrated scan:**
import { scanPackage } from './scan-orchestrator.js';
const report = await scanPackage(filePath, {
depth: 'thorough', // fast | standard | thorough
autoQuarantine: true,
quarantineDir: './quarantine',
});
// report.verdict, report.signatureFindings, report.heuristicFindings**Quarantine management:**
import { quarantineFile, restoreFile } from './quarantine.js';
await quarantineFile(infectedPath, { quarantineDir: './quarantine', reason: 'SCA virus' });
await restoreFile(quarantinedId, { quarantineDir: './quarantine', restoreDir: './restored' });**Batch scan with auto-quarantine:**
import { batchScan } from './scan-orchestrator.js';
const results = await batchScan(filePaths, {
depth: 'standard',
autoQuarantine: true,
quarantineDir: './quarantine',
});1.5% budget reflects the 6 modules covering the complete multi-layer scanning pipeline. The signature database format, hex pattern matching with wildcards, heuristic rule engine, quarantine atomicity, and orchestrator coordination logic require comprehensive context for correct security operation and troubleshooting.
An adaptive learning and coprocessor architecture for Claude Code, built as an extension to GSD (open-gsd)
Repo: Tibsfox/gsd-skill-creator
Aminet search and browse: full-text search, category tree navigation, architecture filtering, package detail, and curated collections. Use when searching,…
FS-UAE emulator configuration and launch: hardware profiles, ROM management, WHDLoad integration, config generation, and state snapshots. Use when configuring…
Manages Aminet INDEX infrastructure: fetch, parse, cache, and incremental update of ~84,000-entry package database. Use when managing INDEX data, checking…
Aminet package installation: LhA/LZX extraction, Amiga filesystem mapping, dependency detection, install tracking, and scan gate enforcement. Use when…
Selective Aminet package mirroring: single-package fetch, integrity verification, mirror state tracking, bulk download, and sync detection. Use when…
Domain knowledge for 10 applied subjects: computer science, data science, world languages, psychology, environmental science, nutrition, economics, creative…