Preface¶
Distributing presentation slides to attendees during a meeting or dragging large files between a laptop and a phone for debugging usually involves USB drives, cloud storage links, or instant messaging. The former requires physical plugging, while the latter often relies on external internet access, which is inconvenient in isolated intranets or when bandwidth is constrained. Here, we introduce the “LAN Resource Distribution Assistant” on SkillHub: once enabled within an Agent, the AI follows the Skill’s guidance to set up sharing within the local network and generate QR codes. This allows phones and tablets to scan the code to upload, download, or browse directories, eliminating the need to upload files to the public internet first.
What is this¶
The “LAN Resource Distribution Assistant” is a Skill published on SkillHub by the community publisher user_05cc33a7 (Coordinate: @user_05cc33a7/local-network-server-skill, current version v1.0.1, category office-efficiency). The page indicates requires_api_key=false, meaning it does not depend on additional API keys.
In one sentence: It is a QR-code-based file sharing tool for Local Area Networks (LAN). It supports Master Gateway mode, Direct Single File Transfer mode, and Automatic Slave Discovery mode. It provides both a graphical interface and command-line interaction, targeting scenarios such as meeting distribution, courseware sharing, offline collaboration, and debugging transfers.
Core Features¶
The following capabilities are derived from the official SkillHub description; details not present in the source material are not expanded upon.
- Three Working Modes: Master Gateway, Direct Single File Transfer, and Automatic Slave Discovery, allowing you to choose how to expose the sharing source based on the scenario.
- Connect via Scan: One-click generation of access QR codes. Phones, tablets, and computers on the same LAN can connect by scanning the code, without relying on internet-based cross-device transmission.
- Files and Directories: Supports upload, download, online preview, and directory list management.
- Device Discovery: Built-in automatic LAN device discovery for quickly finding available sharing sources.
- Security and Storage: File type whitelist validation, secure naming protection, and customizable storage paths.
- Execution Methods: Graphical interaction window and pure command-line mode; adjustable ports, background silent running, link copying, and execution logging.
Installation and Activation¶
The installation method provided on the SkillHub page is to let the AI handle it according to the official installation documentation and install the specified coordinate.
Please install `@user_05cc33a7/local-network-server-skill` based on https://skillhub.cn/install/skillhub.md.
If the SkillHub CLI is already installed on your machine, you can first confirm the version and then install it to the current Agent’s skills directory (the --dir flag is mandatory during installation; otherwise, it defaults to ./skills/ and the Agent may not recognize it).
command -v skillhub && skillhub --version
If the CLI is not installed, you can follow the SkillHub installation documentation to perform a full installation or install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Install the Skill into the corresponding client directory (paths are subject to the installation documentation; Cursor commonly uses ~/.cursor/skills/):
skillhub install @user_05cc33a7/local-network-server-skill --dir ~/.cursor/skills/
Claude Code commonly uses ~/.claude/skills/, and Codex commonly uses ~/.codex/skills/ or .agents/skills/ within the project. After installation, refresh or restart the Agent according to the rules of your specific client to enable the Skill.
Typical Usage¶
The source material does not provide a step-by-step command list. The typical flow is: after enabling the Skill in an environment like Cursor, describe your needs in natural language (e.g., “Share a directory on the LAN and generate a QR code,” “Direct transfer a single file to my phone,” or “Find existing sharing sources on the LAN”). The Agent will select the mode, start the service, and generate QR codes or links according to the instructions in SKILL.md. It can also switch to the command line, adjust ports, or run in the background if necessary. Specific sub-commands and configuration options are subject to the Skill content after installation.
Use Cases and Notes¶
Target Audience: Teams or individuals who need to quickly distribute files within the same LAN, perform offline collaboration, or handle local debugging transfers, and prefer to minimize reliance on cloud storage and public internet links.
Usage Notes:
- Endpoint devices must be on the same LAN as the machine providing the sharing, and the firewall must allow the selected port.
- Whitelists and naming rules can reduce the risk of accidental transfers, but they do not replace permission and compliance reviews for sensitive data; shared directories should only contain content permitted for external distribution.
- Automatic Slave Discovery relies on LAN broadcasting or similar mechanisms; in complex network partitions, the peer may not be found, requiring a switch to manual addressing or Master Gateway mode.
- The Skill is of community origin (
community); check the SkillHub page for updates to versions and descriptions before use.
Conclusion¶
The “LAN Resource Distribution Assistant” consolidates LAN QR code sharing, three distribution modes, directory management, and security validation into a single Agent Skill. It is suitable for reducing the reliance on USB drives and public internet relays in meetings, courseware distribution, and intranet collaboration. Official page and API entry:
- https://www.skillhub.cn/skills/user_05cc33a7/local-network-server-skill
- https://api.skillhub.cn/user_05cc33a7/local-network-server-skill