/techsmith-pack:techsmith-sdk-patternsfrom techsmith-pack
Provides PowerShell patterns for automating TechSmith Snagit screen capture and Camtasia video rendering via COM API. Useful for batch capture and rendering workflows.
Ships in techsmith-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Production patterns for TechSmith COM API: capture factories, output configuration, and batch processing.
function New-SnagitCapture {
param(
[ValidateSet('Desktop', 'Window', 'Region')]
[string]$InputType = 'Window',
[ValidateSet('PNG', 'JPEG', 'BMP', 'GIF')]
[string]$Format = 'PNG',
[string]$OutputDir = "C:\Screenshots",
[bool]$Preview = $false
)
$inputMap = @{ Desktop = 0; Window = 4; Region = 2 }
$formatMap = @{ PNG = 3; JPEG = 4; BMP = 0; GIF = 2 }
$capture = New-Object -ComObject Snagit.ImageCapture
$capture.Input = $inputMap[$InputType]
$capture.Output = 2 # File
$capture.OutputImageFile.FileType = $formatMap[$Format]
$capture.OutputImageFile.Directory = $OutputDir
$capture.OutputImageFile.Filename = "capture_$(Get-Date -Format 'yyyyMMdd_HHmmss')"
$capture.EnablePreview = $Preview
return $capture
}
# Usage
$cap = New-SnagitCapture -InputType Window -Format PNG
$cap.Capture()
function Invoke-CamtasiaBatchRender {
param(
[string[]]$ProjectFiles,
[string]$OutputDir,
[string]$Preset = "MP4 - Smart Player (up to 1080p)"
)
$producer = "C:\Program Files\TechSmith\Camtasia 2025\CamtasiaProducer.exe"
$results = @()
foreach ($project in $ProjectFiles) {
$name = [System.IO.Path]::GetFileNameWithoutExtension($project)
$output = Join-Path $OutputDir "$name.mp4"
$proc = Start-Process -FilePath $producer -ArgumentList @(
"/i", "`"$project`"",
"/o", "`"$output`"",
"/preset", "`"$Preset`""
) -Wait -PassThru
$results += @{ File = $name; ExitCode = $proc.ExitCode }
}
return $results
}
| Pattern | Use Case | Benefit |
|---|---|---|
| Factory function | Different capture types | Consistent configuration |
| Batch rendering | Multiple projects | Automated pipeline |
| Timestamped names | Avoid overwrites | Unique filenames |
Apply patterns in techsmith-core-workflow-a.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
techsmith, snagit, camtasia, screen-capture, video-automation, powershell
18 skills in this plugin
/techsmith-ci-integrationTechSmith ci integration for Snagit COM API and Camtasia automation.
Use when working with TechSmith screen capture and video editing automation.
Trigger: "techsmith ci integration".
/techsmith-common-errorsTechSmith common errors for Snagit COM API and Camtasia automation.
Use when working with TechSmith screen capture and video editing automation.
Trigger: "techsmith common errors".
/techsmith-core-workflow-aTechSmith core workflow a for Snagit COM API and Camtasia automation.
Use when working with TechSmith screen capture and video editing automation.
Trigger: "techsmith core workflow a".
/techsmith-core-workflow-bTechSmith core workflow b for Snagit COM API and Camtasia automation.
Use when working with TechSmith screen capture and video editing automation.
Trigger: "techsmith core workflow b".
/techsmith-cost-tuningTechSmith cost tuning for Snagit COM API and Camtasia automation.
Use when working with TechSmith screen capture and video editing automation.
Trigger: "techsmith cost tuning".
/techsmith-debug-bundleTechSmith debug bundle for Snagit COM API and Camtasia automation.
Use when working with TechSmith screen capture and video editing automation.
Trigger: "techsmith debug bundle".
npx claudepluginhub flight505/skill-forge --plugin techsmith-packOther plugins' skills for the same job