Skip to content
Back to skills

Cfst Hosts Update Commit

BSecurity

Run the WorkerVless2sub cfst_hosts.sh workflow to refresh result_hosts.txt and nowip_hosts.txt, then stage and commit those updates in git. Use when asked to update CloudflareST hosts/IPs, run the speed test, or auto-commit the refreshed results for this repo.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
toolsbashgit

Security analysis

B75/100
  • criticalAccesses sensitive system or user directories

Pro shows the line behind each finding and how to fix it

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill cfst-hosts-update-commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cfst Hosts Update Commit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cfst Hosts Update Commit
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-cfst-hosts-update-commit/badge)](https://www.skillsdirectory.com/skills/david-li0406-cfst-hosts-update-commit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cfst-hosts-update-commit
description: Run the WorkerVless2sub cfst_hosts.sh workflow to refresh result_hosts.txt and nowip_hosts.txt, then stage and commit those updates in git. Use when asked to update CloudflareST hosts/IPs, run the speed test, or auto-commit the refreshed results for this repo.
---

# Cfst Hosts Update Commit

## Overview

Run the repo's cfst_hosts.sh workflow to pick the fastest IP, update result_hosts.txt and nowip_hosts.txt, and commit those file changes in git.

## Workflow

1. Confirm location and prerequisites
   - Work from the repo root containing cfst_hosts.sh and CloudflareST.
   - If this is the first run, be ready to input the current Cloudflare IP when prompted; it will be stored in nowip_hosts.txt.

2. Run the update script
   - Prefer sudo bash cfst_hosts.sh so /etc/hosts and /etc/hosts_backup can be updated.
   - If sudo is not allowed, run bash cfst_hosts.sh and note that /etc/hosts may not update.

3. Validate outputs
   - Ensure result_hosts.txt exists and has at least one data row (header + IP row).
   - Ensure nowip_hosts.txt contains the new IP selected from result_hosts.txt.

4. Stage and commit
   - Check git status -sb; only proceed if the intended changes are result_hosts.txt and nowip_hosts.txt.
   - Stage: git add result_hosts.txt nowip_hosts.txt.
   - Commit with a short, imperative message like "Update CFST hosts" (or user-specified).
   - Do not push unless explicitly asked.

## Failure handling

- If result_hosts.txt is missing or has no IP rows, stop and report; do not commit.
- If cfst_hosts.sh exits early (no IP found), do not commit.
- If unexpected files change, ask before committing.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…