tippinggame/f8framework/f8-features-download-workflow

Claude Code and agent skill by tippinggame/f8framework

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when implementing or troubleshooting Download feature workflows — HTTP file downloads, progress tracking, and resumable transfers in F8Framework.

Install

npx vskill@latest install tippinggame/f8framework/f8-features-download-workflow

SKILL.md

The same SKILL.md was published earlier as tippinggame/f8framework/f8-features-download-workflow.

Download Feature Workflow

⚠️ IMPORTANT: Before using this feature, you MUST formally initialize F8Framework in the launch sequence. Ensure ModuleCenter.Initialize(this); has run first, then create the required module, for example FF8.Download = ModuleCenter.CreateModule<DownloadManager>();.

Use this skill when

  • The task is about downloading files from HTTP/localhost.
  • The user needs progress tracking, resumable downloads, or batch downloads.
  • Troubleshooting download failures or timeout issues.

Path resolution

  1. Prefer project source at Assets/F8Framework.
  2. If F8Framework is installed as a package, use Packages/F8Framework.
  3. For usage docs, read: Assets/F8Framework/Tests/Download/README.md

Sources of truth

  • Runtime module: Assets/F8Framework/Runtime/Download
  • Test docs: Assets/F8Framework/Tests/Download

Key classes and interfaces

ClassRole
DownloadManagerCore module. Access via FF8.Download. Creates and manages downloaders.
DownloaderIndividual download task manager. Handles queue, callbacks, retry.
DownloadStartEventArgsEvent data for download start.
DonwloadUpdateEventArgsEvent data for progress updates (Note: naming typo in framework).
DownloadSuccessEventArgsEvent data for successful download.
DownloadFailureEventArgsEvent data for failed download.
DownloadTasksCompletedEventArgsEvent data when all tasks complete.

API quick reference

csharp
// Create a downloader instance
Downloader downloader = FF8.Download.CreateDownloader("Download", new Downloader());
downloader.DownloadTimeout = 30; // Timeout in seconds (default: no timeout)
// Set callbacks
downloader.OnDownloadStart += (DownloadStartEventArgs e) => { };
downloader.OnDownloadSuccess += (DownloadSuccessEventArgs e) => { };
downloader.OnDownloadFailure += (DownloadFailureEventArgs e) => { };
downloader.OnDownloadOverallProgress += (DonwloadUpdateEventArgs e) =>
{
float progress = (float)e.CurrentDownloadTaskIndex / e.DownloadTaskCount * 100f;
long downloadedBytes = e.TotalDownloadedLength;
double speed = e.DownloadInfo.DownloadedLength / e.DownloadInfo.DownloadTimeSpan.TotalSeconds;
double downloadedMB = downloadedBytes / (1024.0 * 1024.0);
double speedMB = speed / (1024.0 * 1024.0);
LogF8.Log($"Progress: {progress:F1}%, {downloadedMB:F2}MB, Speed: {speedMB:F2}MB/s");
};
downloader.OnAllDownloadTaskCompleted += (DownloadTasksCompletedEventArgs e) => { };
// Add download tasks
FileInfo file = new FileInfo(Application.persistentDataPath + "/file.png");
long fileSizeInBytes = file.Length;
downloader.AddDownload(url, Application.persistentDataPath + "/file.png", fileSizeInBytes, true);
// Start downloading
downloader.LaunchDownload();
// Cancel download
downloader.CancelDownload();
// Get remote file size
FF8.Download.GetUrlFilesSizeAsync(url, (long size) => LogF8.Log(size));

Workflow

  1. Create a downloader with FF8.Download.CreateDownloader().
  2. Configure timeout if needed.
  3. Register all callbacks before adding tasks.
  4. If you need resume support, read the local file size and pass it as downloadByteOffset, with downloadAppend = true.
  5. Add download items with source URL and local save path.
  6. Call LaunchDownload() to begin.
  7. Monitor progress via OnDownloadOverallProgress; use e.TotalDownloadedLength for accumulated bytes and e.DownloadInfo.DownloadedLength for the current file.
  8. Handle success/failure per file.
  9. Use GetUrlFilesSizeAsync() only when you need to query remote file size separately.
  10. Cancel with CancelDownload() if needed.

Common error handling

ErrorCauseSolution
Download timeoutServer slow or unreachableIncrease DownloadTimeout or check network
File write failsInvalid save path or no permissionEnsure path is in Application.persistentDataPath
Progress shows 0%Some servers don't provide Content-LengthUse task index ratio instead of byte-based progress
Resume not workingServer doesn't support Range headersCheck server configuration
Overall bytes only show current fileUsing wrong event fieldUse e.TotalDownloadedLength instead of e.DownloadInfo.DownloadedLength

Cross-module dependencies

  • HotUpdateManager: Uses Download for hot update asset retrieval.
  • AssetManager: Downloaded assets may need to be loaded via AssetManager.

Output checklist

  • Downloader created with appropriate callbacks.
  • Download paths verified.
  • Files changed and why.
  • Validation status and remaining risks.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
870
Repository forks
139
7-day trend score
34

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tippinggame/f8framework/f8-features-download-workflow/badge)](https://verified-skill.com/skills/tippinggame/f8framework/f8-features-download-workflow)

Something wrong with this skill or its page? Tell us.