snipeit-skill
بواسطة bivex
AI & LLMsموجز
Interact with Snipe-IT asset management via REST API.
الوصف
ما الذي تفعله هذه المهارة
Manages IT hardware, licenses, accessories, and users in Snipe-IT through bash helper functions that wrap its REST API. Supports checkout and checkin workflows, maintenance logs, location audits, license seat tracking, and activity reports.
Wraps Snipe-IT's REST API in reusable bash helpers so common asset operations can be scripted without writing boilerplate curl calls each time.
متى تستخدمها
- Checking out a laptop to a new hire during onboarding
- Finding assets overdue for audit before a quarterly review
- Checking available license seats before buying more
- Checking in all equipment from a departing employee
- Logging a repair maintenance record for a damaged device
مثال على سير العمل
User asks: onboard a new MacBook Pro and assign it to user ID 7
- 1
Search /models for an existing MacBook Pro 16 model to get its ID
- 2
Create a new asset in /hardware with a timestamped tag, the model ID, and a location
- 3
POST to /hardware/{id}/checkout with checkout_to_type user and assigned_user 7
- 4
Return the new asset ID and checkout confirmation from the API response
Asset ASSET-20250115-1430 created (ID 42) and checked out to user 7 with note 'New hire onboarding'
المتطلبات
- SNIPEIT_URL — URL of your Snipe-IT instance (e.g. https://assets.example.com)
- SNIPEIT_API_TOKEN — Bearer token generated from your Snipe-IT profile under Manage API Keys
التثبيت
clawhub install bivex/snipeit-skillشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.