Agent skill
update-paopaodns-ttl-rules
Refresh PaoPaoDNS force TTL rules by running scripts/update_dns.py and updating force_ttl_rules.txt, or adjusting scripts/update_dns_rules.sh for server-side updates. Use when DNS rule sources or outputs need updates in this repo.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/update-paopaodns-ttl-rules
SKILL.md
Update PaoPaoDNS TTL Rules
Overview
Regenerate force_ttl_rules.txt from upstream rule sources using the local Python script and keep the server-side updater aligned.
Local regeneration
- Run
python scripts/update_dns.pyfrom the repo root. - Ensure network access and the Python
requestspackage are available. - Confirm the output file
force_ttl_rules.txtis updated with a fresh header (timestamp, count, DNS, source URLs).
Source and DNS settings
- Adjust
SOURCE_URLS,PRIMARY_DNS, orFALLBACK_DNSinscripts/update_dns.pyonly when required. - Keep
OUTPUT_FILEpointing toforce_ttl_rules.txt.
Server-side updater
- Use
scripts/update_dns_rules.shon the server to pull the latestforce_ttl_rules.txtfrom GitHub. - Update
REMOTE_URL,LOCAL_FILE, andRESTART_CMDonly if deployment paths or service names change.
Quick checks
- Verify the output is non-empty and begins with the expected header block.
- Avoid manual edits to
force_ttl_rules.txtunless regenerating.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?