Product
Query IBM i software products, licensing, and product health via SQL services. Use when user asks about: (1) installed software products and versions, (2) product details for a specific product ID, (3) software products with load errors, (4) license compliance and usage limits, (5) unsupported or incompatible products, (6) replacing DSPSFWRSC, WRKLICINF, DSPPTF commands, or (7) any software product management task.From its SKILL.md
npx -y skills add ajshedivy/ibmi-agent-skills --skill productAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.1 KB, as published. Nobody here has run it
IBM i Software Product & License Management
Query installed software products, licensing, and product health using SQL services from QSYS2.
Available Tools
The ibmi CLI is the primary tool for executing product queries. Set SKILL_DIR to this skill's installed location (the directory containing this SKILL.md file):
# SKILL_DIR = directory containing this SKILL.md
# Examples: ./skills/product, ~/.claude/skills/product
ibmi tools --tools "$SKILL_DIR/tools/" --toolset product_default
ibmi tool list_software_products --tools "$SKILL_DIR/tools/"
ibmi sql "SELECT * FROM QSYS2.SOFTWARE_PRODUCT_INFO WHERE INSTALLED = 'YES' AND LOAD_ERROR = 'YES'"
Service Selection Guide
Software Products
- QSYS2.SOFTWARE_PRODUCT_INFO -- Installed products with release, state, errors, compatibility
Licensing
- QSYS2.LICENSE_INFO -- License terms, usage limits, peak usage, expiration dates
Key Capabilities
Software Inventory
- Product Listing -- All installed products with release level and status
- Product Detail -- Deep dive into a specific product's options and loads
- Error Detection -- Find products with load errors or broken installations
- Compatibility Check -- Identify unsupported or incompatible products
License Management
- Usage Tracking -- Current usage count vs usage limit per product
- Peak Usage -- Historical peak usage for capacity planning
- Compliance -- Compliance type and violation logging status
- Expiration -- License expiration dates and grace periods
Common Use Cases
- Software inventory -- List all installed products and versions
- Product lookup -- Get details for a specific product ID (e.g., 5770SS1)
- Error detection -- Find products with load errors needing attention
- License audit -- Review license compliance and usage
- Upgrade planning -- Identify unsupported or incompatible products
- Capacity planning -- Check peak usage against license limits
Quick Examples
List installed products
ibmi tool list_software_products --tools "$SKILL_DIR/tools/"
Details for a specific product
ibmi tool get_software_product_detail --tools "$SKILL_DIR/tools/" --product-id 5770SS1
Products with errors
ibmi tool list_software_errors --tools "$SKILL_DIR/tools/"
License compliance
ibmi tool get_license_info --tools "$SKILL_DIR/tools/"
Unsupported products
ibmi tool list_unsupported_products --tools "$SKILL_DIR/tools/"
Pre-built Tools
The tools/product.yaml file provides 5 ready-to-use tools:
| Tool | Description |
|---|---|
list_software_products | Installed software products with status and release |
get_software_product_detail | Detailed product info by product ID |
list_software_errors | Products with load errors |
get_license_info | License compliance, usage, and expiration |
list_unsupported_products | Unsupported, incompatible, or errored products |
ibmi tool <tool_name> --tools "$SKILL_DIR/tools/" # Execute
ibmi tool <tool_name> --tools "$SKILL_DIR/tools/" --dry-run # Preview SQL
ibmi tools show <tool_name> --tools "$SKILL_DIR/tools/" # View details
Reference Documentation
- Product Services Catalog -- Available SQL services
- Example SQL Patterns -- Working query examples
- IBM SOFTWARE_PRODUCT_INFO -- View documentation
- IBM LICENSE_INFO -- View documentation