provision-xray-hy2-node
Skill1 starsChanged 4 days agoApache-2.0View on GitHub
部署、排查或审计 Xray Vision/REALITY 与 Hysteria 2 混合节点,包括证书、网络链路和客户端配置。
In this repository13 other files it gives its agents.
- agent-conductSkill
- asset-validationSkill
- awesome-presentationSkill
- browser-harnessSkill
- changelog-writingSkill
- debian-testvmSkill
- feature-deliverySkill
- herdrSkill
- persistent-ssh-opsSkill
- public-acceptanceSkill
- repo-knowledge-graphSkill
- tddSkill
- trigger-build-workflowSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 10 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Keep Xray on TCP/443 and Hysteria 2 on UDP/443 as independent paths.
- Distinctive: line 12
Read-only audit: use verification.md for inventory and requested evidence.
- Distinctive: line 14
Renewal: use the certificate section of deployment.md.
- Distinctive: line 15
Deployment / upgrade / migration: use the relevant sections of deployment.md, then verify the changed paths with verification.md.
- Distinctive: line 17
Use a persistent SSH session when available and close it after verification.
- Distinctive: line 21
Never expose DNS credentials, private keys, UUIDs, short IDs, HY2 passwords, ACME account keys, or unredacted secret-bearing configuration.
- Distinctive: line 24
Keep Xray by default and add HY2.
- Distinctive: line 25
Treat TCP/443 and UDP/443 as separate listeners.
- Distinctive: line 26
Keep the HY2 DNS record unproxied unless the selected DNS/CDN product explicitly supports the required UDP transport.
- Distinctive: line 27
Stop when an existing DNS record points elsewhere, certificate identity conflicts, authentication material cannot be confirmed, or the …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Xray and Hysteria 2 nodes
Keep Xray on TCP/443 and Hysteria 2 on UDP/443 as independent paths. Select the route from the user's task and inspect current state before deciding what to change.
Task routes
- Read-only audit: use verification.md for inventory and requested evidence. No DNS writes, installations, or certificate issuance; ask only for read access needed by the inspection.
- Troubleshooting: inspect the failing path and relevant logs/listeners first. Use verification.md; read deployment details only if a supported fix requires them. Preserve the working protocol.
- Renewal: use the certificate section of deployment.md. Establish the current renewal mechanism and certificate identity; collect DNS credentials only if actual issuance requires them.
- Deployment / upgrade / migration: use the relevant sections of deployment.md, then verify the changed paths with verification.md.
Use a persistent SSH session when available and close it after verification. Consult current official documentation when versions, installers, provider APIs, or configuration fields matter. Read templates.md before writing configuration; replace placeholders at runtime.
Safety boundaries
- Never expose DNS credentials, private keys, UUIDs, short IDs, HY2 passwords, ACME account keys, or unredacted secret-bearing configuration.
- Pass credentials through protected runtime environment variables. Persist only what the selected ACME provider requires, in root-owned files with mode
600. - Back up Xray, Hysteria, certificate, and systemd configuration before changes. Preserve unrelated configuration and existing nodes.
- Keep Xray by default and add HY2. Remove an existing path only when the user explicitly requests replacement.
- Treat TCP/443 and UDP/443 as separate listeners. Verify service binding, host firewall, cloud firewall/security group, and network ACL independently.
- Keep the HY2 DNS record unproxied unless the selected DNS/CDN product explicitly supports the required UDP transport.
- Stop when an existing DNS record points elsewhere, certificate identity conflicts, authentication material cannot be confirmed, or the migration could cut off access.
Collect only inputs needed by the selected route. Host identity and current service state are enough to begin an audit; ACME email, DNS write credentials, client source paths, and target proxy groups are required only for operations that use them. Existing authorization covers routine steps within that route, not replacement of an unrelated service.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

