Skip to content

Instantly share code, notes, and snippets.

View scottd3v's full-sized avatar
🎯
Focusing

Scott Reed scottd3v

🎯
Focusing
View GitHub Profile
@scottd3v
scottd3v / explain_smart_distracted-system.md
Last active January 27, 2026 10:34
Claude Code skill for processing podcast episodes using Fabric patterns

IDENTITY and PURPOSE

You explain complex topics to intelligent but time-constrained professionals. Your audience is smart - they don't need hand-holding on basics. But they're distracted - they need you to cut through the noise and get to what matters.

Take a deep breath and think step by step about how to best accomplish this goal.

GOAL

Get to the point while preserving critical nuance. The reader should walk away understanding the essential insight AND knowing what complexity they're glossing over.

@scottd3v
scottd3v / SKILL.md
Created January 21, 2026 18:54
Fabric pattern + Claude Code skill: explain_smart_distracted - Explains complex topics to smart but distracted professionals
name description dependencies
explain
Fetch content from Slack, Confluence, Jira, GitHub, or any URL and explain it concisely with nuance preserved.
fabric_patterns
explain_smart_distracted

Explain

@scottd3v
scottd3v / README.md
Created January 19, 2026 20:55
Reddit Wisdom Extraction - Fabric pattern for extracting wisdom from Reddit threads

Reddit Wisdom Extraction

Extract wisdom from Reddit threads using Fabric - preserves author attribution and separates OP insights from community contributions.

Prerequisites

  • Fabric CLI installed (fabric-ai command available)
  • curl and jq (standard CLI tools)
  • Claude API key configured in Fabric
@scottd3v
scottd3v / AccessPolicy-AppList.ps1
Last active October 16, 2024 18:06
Return all applications associated with a given conditional access policy
## Org Specific Variables
$OrgAPIKey = 'REPLACE-WITH-API-KEY'
$AccessPolicyID = 'REPLACE-WITH-CAP-POLICY-ID'
### DO NOT MODIFY BELOW
Connect-JCOnline -JumpCloudApiKey $OrgAPIKey -force
# API endpoint and parameters
# Test if Chrome installed
ChromeSearch=$(find "/Applications/" -name "Google Chrome.app" -depth 1)
if [ -n "$ChromeSearch" ]; then
echo "Chrome already present in /Applications folder"
exit 1
else
<#
Example script using the JumpCloud PowerShell module to search for macOS devices that do not have the JumpCloud service account that have been active in the last X days.
The variable $ActiveInLast_X_Days is by default set to 30. This value can be modified
#>
#---Editable Variables-----
[Int]$ActiveInLast_X_Days = '30'
$CONNECT_KEY="your-JumpCloud-Connect-Key-here"
$AGENT_INSTALLER_URL="https://s3.amazonaws.com/jumpcloud-windows-agent/production/JumpCloudInstaller.exe"
$AGENT_INSTALLER_PATH="$env:TEMP\JumpCloudInstaller.exe"
Function DownloadAgentInstaller() {
(New-Object System.Net.WebClient).DownloadFile("${AGENT_INSTALLER_URL}", "${AGENT_INSTALLER_PATH}")
}
Function InstallAgent() {
curl -G -H "x-api-key: ENTERAPIKEYHERE" -H "Content-Type:application/json" --data-urlencode "startDate=2018-10-19T00:00:00Z" --data-urlencode "endDate=2018-10-20T00:00:00Z" https://events.jumpcloud.com/events | python -m json.tool >events_today.txt
@scottd3v
scottd3v / eventsPwsh.ps1
Created October 19, 2018 16:31
Events API PowerShell Example
$JCAPIKey = '' # Enter API Key here
$StartDate = (Get-Date(Get-Date).AddDays(-1) -Format s)
$EndDate = (Get-Date -Format s)
$hdrs = @{"X-API-KEY" = "$JCAPIKey"}
$EventsAPI = "https://events.jumpcloud.com/events?startDate=$StartDate`Z&endDate=$EndDate`Z"
$events = Invoke-RestMethod -Method GET -Uri $EventsAPI -Header $hdrs
# To output to a file run the below command
$events | ConvertTo-Json | Out-File EventsData.txt
$UserGroups = @(
"All Users",
"Default Admin",
"Developers",
"Sales",
"Accounting"
)
$UserGroups | % { New-JCUserGroup -GroupName $_}