clarioncom-get
Download a ClarionCOM control from the marketplace to your local machine
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Download a ClarionCOM control from the marketplace to your local machine
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Analyze Clarion code generation traces to find recurring failure patterns. Uses evidence-gating (2+ occurrences) to identify real issues. Suggests improvements for the /clarion skill. Triggers on '/clarion-analyze', 'analyze clarion traces', 'what mistakes am I making'.
Benchmark Clarion code generation quality by running test prompts and scoring the output. Measures improvement over time. Triggers on '/clarion-benchmark', 'benchmark clarion', 'test clarion code quality'.
Convert a Clarion dictionary from one file driver to another (e.g., TopSpeed to SQLite). Exports the dictionary to .dctx, transforms driver settings, regenerates GUIDs, creates a new .dct from blank template, and prepares for import. User must perform the final import manually in the IDE.
Create Clarion IDE addins with proper project structure, templates, and SharpDevelop integration. Use when creating new IDE tools, pads, embeditor toolbar buttons, or menu commands for the Clarion IDE.
Clarion language programming reference with syntax rules, data types, control structures, Windows API integration patterns, and template-authoring gotchas (#AT,
Compile C# COM projects for Clarion using MSBuild with correct paths, error handling, and build verification. Supports public releases with changelog management. Auto-applies for building .NET Framework COM components. Verification steps use parallel execution.
| name | clarioncom-get |
| description | Download a ClarionCOM control from the marketplace to your local machine |
| version | 1.0.0 |
| user-invocable | true |
| auto-apply | {"match-terms":["get control","download control","install control","marketplace download","get com control"]} |
| changelog | [{"version":"1.0.0","date":"2026-01-17T00:00:00.000Z","changes":["Initial release with marketplace browsing and cloning","Search by control name with wildcard support","Automatic manifest parsing for control descriptions"]}] |
powershell -Command "..."
powershell -Command "Get-Command gh..."
powershell -Command "$envFile = ..."
where gh
ANY command using powershell -Command with variables WILL FAIL. The $ characters get stripped by Bash.
# Check gh CLI installed
powershell -ExecutionPolicy Bypass -Command '& (Join-Path $env:APPDATA "ClarionCOM\scripts\clarioncom-env.ps1") gh-check'
# Get full path to gh.exe (use this for all gh commands!)
powershell -ExecutionPolicy Bypass -Command '& (Join-Path $env:APPDATA "ClarionCOM\scripts\clarioncom-env.ps1") gh-path'
# Check GitHub authentication
powershell -ExecutionPolicy Bypass -Command '& (Join-Path $env:APPDATA "ClarionCOM\scripts\clarioncom-env.ps1") gh-user'
# Get gh path first, then use it in PowerShell commands
powershell -ExecutionPolicy Bypass -Command "& 'C:\Program Files\GitHub CLI\gh.exe' api repos/OWNER/REPO/contents/PATH"
powershell -ExecutionPolicy Bypass -Command "& 'C:\Program Files\GitHub CLI\gh.exe' repo clone OWNER/REPO"
Download a COM control from the ClarionCOM marketplace to your local machine.
Use this skill when:
Before downloading:
gh) must be installedgh auth login)COPY THIS EXACT COMMAND:
powershell -ExecutionPolicy Bypass -Command '& (Join-Path $env:APPDATA "ClarionCOM\scripts\clarioncom-env.ps1") gh-check'
Output: INSTALLED or NOT_INSTALLED
If NOT_INSTALLED, ask the user: "GitHub CLI is required to download controls. Install it now?"
winget install GitHub.cli and wait for completionGitHub CLI can be installed from: https://cli.github.com/
After installation, run 'gh auth login' to authenticate.
COPY THIS EXACT COMMAND:
powershell -ExecutionPolicy Bypass -Command '& (Join-Path $env:APPDATA "ClarionCOM\scripts\clarioncom-env.ps1") gh-user'
Output: GitHub username, NOT_AUTHENTICATED, or NOT_INSTALLED
If NOT_AUTHENTICATED:
You need to authenticate with GitHub first.
Run: gh auth login
Then try again.
COPY THIS EXACT COMMAND:
powershell -ExecutionPolicy Bypass -Command '& (Join-Path $env:APPDATA "ClarionCOM\scripts\clarioncom-env.ps1") gh-path'
Output: Full path like C:\Program Files\GitHub CLI\gh.exe or NOT_INSTALLED
IMPORTANT: Store this path! You will need it for all gh commands in subsequent steps.
Use AskUserQuestion to get the control name to search for.
Question: "Enter the control name to search for (e.g., 'clock', 'document', 'editor') or '*' to list all available controls"
Header: "Control search"
Options: (This should be a text input, not options. Use the "Other" option mechanism.)
Store the search term for Step 3.
Use the GitHub API to list all controls in the marketplace registry.
powershell -ExecutionPolicy Bypass -Command "& 'GH_PATH' api repos/ClarionLive/com-marketplace/contents/controls --jq '.[].name'"
Replace GH_PATH with the full path from Step 1c.
Output: A list of control folder names, one per line (e.g., DocumentViewerCOM, LedClock, TextEditorCOM)
Filter the results by the user's search term (case-insensitive):
* or all: Show all controlsFor each matching control, fetch its manifest.yaml to get the description and repository URL.
powershell -ExecutionPolicy Bypass -Command "& 'GH_PATH' api repos/ClarionLive/com-marketplace/contents/controls/CONTROL_NAME/manifest.yaml --jq '.content'"
This returns base64-encoded content. Decode it:
echo "BASE64_CONTENT" | base64 -d
From the decoded YAML, extract:
name - Control display nameshort_description - Brief description to show userrepository.url - GitHub URL to clonecategory - Control categoryDisplay:
No controls found matching "SEARCH_TERM".
Check the marketplace for available controls:
https://clarionlive.com/com_for_clarion/marketplace
Or run /clarioncom-get again and enter '*' to list all available controls.
Stop here.
Display the control details and ask for confirmation:
Found: CONTROL_NAME
Description: SHORT_DESCRIPTION
Category: CATEGORY
Repository: REPO_URL
Download this control?
Use AskUserQuestion with options:
Display all matches with numbers and use AskUserQuestion to let user select.
Format each option as:
CONTROL_NAMESHORT_DESCRIPTION (CATEGORY)Example:
Found 3 controls matching "clock":
1. LedClock - LED-style digital clock control (UI Controls)
2. AnalogClock - Analog clock face control (UI Controls)
3. WorldClock - Multi-timezone clock display (UI Controls)
Select a control to download:
Before cloning, check if a folder with the repository name already exists in the current directory.
Extract the repo name from the repository URL:
# From URL like https://github.com/owner/RepoName, extract "RepoName"
basename "REPO_URL"
Check if folder exists:
test -d "./REPO_NAME" && echo "EXISTS" || echo "NOT_EXISTS"
Use AskUserQuestion:
Question: "A folder named 'REPO_NAME' already exists. What would you like to do?"
Options:
If Overwrite:
rm -rf "./REPO_NAME"
If Skip: Display: "Download cancelled." and stop.
If Rename: Use AskUserQuestion to get a new folder name, then use that for cloning.
Clone the repository to the current directory.
powershell -ExecutionPolicy Bypass -Command "& 'GH_PATH' repo clone REPO_URL"
Or if user chose a custom folder name:
powershell -ExecutionPolicy Bypass -Command "& 'GH_PATH' repo clone REPO_URL CUSTOM_FOLDER_NAME"
Replace:
GH_PATH with the full path from Step 1cREPO_URL with the repository URL from the manifest (e.g., https://github.com/peterparker57/LedClockCOM)CUSTOM_FOLDER_NAME with the user's chosen name (if applicable)After successful cloning, display:
============================================================
Control Downloaded Successfully!
============================================================
Control: CONTROL_NAME
Location: ./FOLDER_NAME
Next steps:
1. cd FOLDER_NAME
2. Run /clarioncom-build to build the control
3. Copy the Clarion/ folder contents to your Clarion accessory folder
============================================================
GitHub CLI is required to download controls.
Install with: winget install GitHub.cli
Or download from: https://cli.github.com/
After installation, run: gh auth login
You need to authenticate with GitHub first.
Run: gh auth login
Then try /clarioncom-get again.
No controls found matching "SEARCH_TERM".
Available controls can be browsed at:
https://clarionlive.com/com_for_clarion/marketplace
Run /clarioncom-get with '*' to list all available controls.
Failed to clone the repository.
Possible causes:
- Network connection issues
- Repository may have been deleted
- Insufficient permissions
Try again or clone manually:
git clone REPO_URL
Download cancelled - folder "FOLDER_NAME" already exists.
Options:
- Delete or rename the existing folder and try again
- Run /clarioncom-get and choose "Rename" to use a different folder name
This skill:
/clarioncom-build after downloading to build the controlclarioncom-build - Build the downloaded controlclarioncom-validate - Validate control complianceclarioncom-marketplace-submit - Submit your own control to the marketplace