ssl-proxy-troubleshoot-fb786c
What it does
This skill gives the AI agent a structured way to diagnose connection failures on government, corporate or other restricted sites. It is for people whose requests fail on sites with certificate or proxy restrictions.
When to use it
- ✓When requests to a government or corporate website fail with SSL or TLS certificate errors.
- ✓When connections time out or are refused on a restricted network.
- ✓When proxy settings may be interfering and the data source must be reached another way.
Skill link
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/ssl-proxy-troubleshoot-fb786c/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Requests to a corporate portal keep failing with certificate errors. Walk through the checks to find out what is blocking it.”
5 new skills a week. 1 minute to read.
How it works
The agent tests DNS and the port, then checks the certificate details and the TLS versions the site accepts. If the primary source stays unreachable, it looks for an alternative source.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
SSL/Proxy Connectivity Troubleshooting
This skill provides a structured workflow for diagnosing and resolving network connectivity issues when accessing government websites, corporate portals, or other restricted domains that commonly exhibit SSL certificate problems, proxy requirements, or access restrictions.
When to Use
Apply this skill when:
- HTTP requests fail with SSL/TLS certificate errors
- Connections timeout or are refused through corporate/government networks
- Proxy settings may be interfering with connectivity
- Primary data sources are inaccessible and alternatives are needed
Diagnostic Workflow
Step 1: Initial Connectivity Assessment
Test basic connectivity before attempting complex solutions:
# Test DNS resolution
nslookup target-domain.gov
dig target-domain.gov
# Test basic TCP connectivity
timeout 5 bash -c 'cat < /dev/null > /dev/tcp/target-domain.gov/443' && echo "Port 443 open" || echo "Port 443 closed"
# Test with curl (verbose)
curl -v https://target-domain.gov 2>&1 | head -50
Step 2: SSL Certificate Investigation
If SSL errors occur, diagnose the certificate issue:
# Check certificate details
openssl s_client -connect target-domain.gov:443 -servername target-domain.gov 2>/dev/null | openssl x509 -noout -dates -subject -issuer
# Test with different SSL versions
curl --tlsv1.2 -v https://target-domain.gov
curl --tlsv1.3 -v https://target-domain.gov
# Try disabling verification (testing only)
curl -k https://target-domain.gov
Step 3: Proxy Configuration Testing
Test various proxy configurations:
# Try without proxy
curl --noproxy "*" https://target-domain.gov
# Try with system proxy
curl -x http://proxy.example.com:8080 https://target-domain.gov
# Try explicit no-proxy for .gov domains
export no_proxy=".gov,.mil,.edu"
curl https://target-domain.gov
# Test with different proxy protocols
curl -x http://proxy:8080 https://target-domain.gov
curl -x https://proxy:8080 https://target-domain.gov
curl -x socks5://proxy:1080 https://target-domain.gov
Step 4: Protocol and Port Variations
Test alternative access methods:
# Try HTTP instead of HTTPS
curl http://target-domain.gov
# Try alternative ports
curl https://target-domain.gov:8443
curl https://target-domain.gov:4443
# Try www subdomain variation
curl https://www.target-domain.gov
# Try alternative domain extensions
curl https://target-domain.state.il.us
Step 5: User-Agent and Header Manipulation
Some sites block automated access:
# Use browser user-agent
curl -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" https://target-domain.gov
# Add common headers
curl -H "Accept: text/html" -H "Accept-Language: en-US" https://target-domain.gov
# Include referer header
curl -e "https://www.google.com/" https://target-domain.gov
Step 6: Python Requests Alternative
If curl fails, try Python with different configurations:
import requests
from requests.adapters import HTTPAdapter
# Disable SSL verification (testing only)
session = requests.Session()
session.verify = False
session.mount('https://', HTTPAdapter())
try:
response = session.get('https://target-domain.gov', timeout=30)
print(f"Status: {response.status_code}")
except Exception as e:
print(f"Error: {e}")
# Try with custom SSL context
import ssl
context = ssl.create_default_context()
context.check_hostname = False
context.verify_mode = ssl.CERT_NONE
Fallback Strategies
When primary data sources remain inaccessible after exhausting troubleshooting:
1. Alternative Data Sources
- Search for mirror sites or archived versions (Wayback Machine)
- Check if data is available through state/federal data portals (data.gov)
- Look for API endpoints that may have different access requirements
- Search for downloadable datasets on alternative domains
2. Indirect Access Methods
- Check if the same data is available through partner organizations
- Look for cached versions through search engines
- Contact the organization directly for data access
- Check if data is available through FOIA requests or public records
3. Documentation and Reporting
When access fails after systematic troubleshooting:
## Access Attempt Summary
- **Target**: [domain]
- **Methods Tried**: [list all approaches]
- **Errors Encountered**: [specific error messages]
- **Time Spent**: [duration]
- **Recommendation**: [alternative sources or next steps]
`
FAQ
Which commands does the skill use?
It uses tools such as nslookup, dig, curl and openssl to test the connection and certificate.
What is checked in the certificate?
The skill checks dates, subject and issuer to see whether the certificate is the cause.
What if the site cannot be reached at all?
The skill says to look for alternative data sources when the primary site is unreachable.
Details
Original description by the author
Systematic approach to diagnosing and resolving SSL/proxy connectivity issues with restricted websites
repo: HKUDS/AgentPilot
Popularity
- GitHub stars
- 7.8k
- Ranking position
- #13020
- License
- MIT
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
agentpilot
7.8kHelps your agent improve a project step by step by preparing a task and running the AgentPilot loop that proposes, tests and scores changes.
openspace
7.8kHelps your agent set up OpenSpace, a tool that stores and fetches agent skills, and connect it to your AI app through MCP.
rsi-arena
7.8kHelps your agent set up and run standard AI benchmark tests, such as AIME and Terminal-Bench, to compare different improvement methods.
experiment-guide
7.8kHelps your agent plan small experiments, read their results and record findings while it investigates how to improve a program.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.