web-network-and-automation
Operate python-mini-project web apps, network clients, sockets, credentialed bots, and host automation safely.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- web-network-and-automation
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Operate python-mini-project web apps, network clients, sockets, credentialed bots, and host automation safely.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/dependency-and-credential-map.md10.3 KB
- 参考文档references/service-recipes.md9.7 KB
- 参考文档references/troubleshooting.md9.7 KB
- 脚本scripts/check_service_project.py36.6 KB
03 SKILL.md 正文
Web, Network, and Automation
Use this sub-skill when the task touches python-mini-project folders that behave like services, network clients, credentialed automation, bots, sockets, or host/system automation.
Route here
- Flask/FastAPI web apps:
Crud_in_flask,Firebase_Authentication_Using_Flask,RSS_Manager,Todo_App,website-builder. - Local network services and sockets:
Simple_Http_Server,Socket_example. - HTTP/API clients and URL/IP tools:
Url_Shortener,IP_Locator,Port Scanner. - Email, messaging, bots, and desktop automation:
Automated_Mailing,Mail_Checker,Whatsapp_Bot,desktopassistant,spam_bot. - Database and host automation with side effects:
PostgreSQL_Dumper,Windows_Shutdown.
Route elsewhere
- Non-network CLI, algorithms, shell helpers, text/file utilities, and pure stdlib puzzles belong to
cli-algorithms-and-utilities. - Tkinter/pygame/turtle display-first games and desktop apps belong to
games-gui-and-desktopunless the task is specifically network or credential automation. - Web scraping as data extraction, PDFs, images, audio, notebooks, OpenCV, TensorFlow/Keras, or YOLO workflows belong to
data-media-ml-and-visionunless the task is deploying or securing a service wrapper.
Safe operating workflow
- Identify the target mini-project folder and treat it as a standalone project; do not install root requirements as a universal environment.
- Run the bundled static checker before any execution:
python scripts/check_service_project.py <repo-checkout>/<project-folder>. The checker reads files and parses Python AST only; it does not import modules, start servers, send mail, scan ports, or call the network. - Read
references/service-recipes.mdfor the folder-specific startup or safe-test recipe. - Read
references/dependency-and-credential-map.mdbefore installing dependencies, setting environment variables, choosing ports, or preparing test accounts. - If execution is necessary, run from the project folder unless the recipe says otherwise. Many templates, SQLite files,
.envfiles, and relative imports assume the project cwd. - Use local-only, disposable resources: temporary SQLite files, loopback ports, test Firebase/SMTP/IMAP/Bitly/WhatsApp accounts, and non-production PostgreSQL databases.
- Never run destructive or spam-capable scripts on a shared host.
Windows_Shutdown,spam_bot, broadPort Scannerruns, and real mass email/WhatsApp sends require explicit human authorization and a dry-run or mocked substitute first.
Evidence basis
This sub-skill was distilled from project-local evidence such as RSS_Manager/pyproject.toml, RSS_Manager/main.py, Flask app READMEs, service source files, and unsafe automation README/source warnings. The runtime guidance is self-contained so future agents can apply it to any compatible checkout without reopening the original production notes.
Bundled references
references/service-recipes.md— folder-by-folder service and safe test recipes.references/dependency-and-credential-map.md— dependencies, ports, credentials, generated files, and safety classes.references/troubleshooting.md— app module/cwd, port, database, credential, socket, Windows-only, and destructive automation failures.scripts/check_service_project.py— static service and automation hazard checker.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).