init-gamebin
Skill67 starsChanged 59 days agoMITView on GitHub
Initialize this repository's disposable local game binaries for an exact GAMEVER from download.yaml or its latest entry. Use only when explicitly asked to initialize gamebin/bin state for a CS2 game version.
- Reads credentials
In this repository91 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- cleanup-workspaceSkill
- convert-finder-skill-to-preprocessor-scriptsSkill
- create-agent-skill-fallbackSkill
- create-cpp-testsSkill
- create-preprocessor-scriptsSkill
- create-prSkill
- dump-vtablesSkill
- find-CBaseEntity_GetChangeAccessorPathInfo_1Skill
- find-CCSBotManager_AddBot_BotNavIgnoreSkill
- find-CCSGameRules__sm_mapGcBanInformationSkill
- find-CCSPlayer_MovementServices_CheckJumpButton_WaterPatchSkill
- find-CCSPlayer_MovementServices_FullWalkMove_SpeedClampSkill
- find-CEngineClient_DumpNetStatsSkill
- find-CEngineClient_FindOrCreateWorldSessionSkill
- find-CEngineClient_GetStatsAppIDSkill
- find-CEngineClient_IsPlayingDemoSkill
- find-CEngineServer_GetAchievementMgrSkill
- find-CEngineServer_GetFrameTimeAmnesty-inlinedSkill
- find-CEngineServer_IsDedicatedServerSkill
- find-CEngineServer_IsLogEnabledSkill
- find-CEngineServer_KickClientSkill
- find-CEngineServer_ServerCommandSkill
- find-CEngineServer_SynchronizeAndBlockUntilLoadedSkill
- find-CEngineServiceMgr_GetAddonCountSkill
- find-CEngineServiceMgr_GetEngineWindowSkill
- find-CEngineServiceMgr_GetEventDispatcherSkill
- find-CEngineServiceMgr_RegisterPrerequisiteSkill
- find-CEntitySystem_Init-decompilesSkill
- find-CEntitySystem_m_EntityList-AND-CEntityIdentity_m_pInstance-AND-CEntityIdentity_m_EHandleSkill
- find-CEntitySystem_m_entityNamesSkill
- find-CGlobalVarsBase_realtime-AND-CGlobalVarsBase_curtimeSkill
- find-CLoopTypeClientServer_RefreshNetworkGameState_AcquireSkill
- find-CLoopTypeClientServer_RefreshNetworkGameState-decompilesSkill
- find-CLoopTypeClientServer_RefreshNetworkGameStateSkill
- find-CNetChan_CanPacketSkill
- find-CNetChan_ProcessMessagesSkill
- find-CNetChan_SendMessages-inlinedSkill
- find-CNetChan_UpdateMessageStatsSkill
- find-CNetworkClientService_m_pGameClientSkill
- find-CNetworkGameServerBase_CheckTimeouts-decompilesSkill
- find-CNetworkGameServerBase_CreateFakeClientSkill
- find-CNetworkGameServerBase_GetChallengeTypeSkill
- find-CNetworkGameServerBase_ReplyChallenge-decompilesSkill
- find-CNetworkGameServerBase_ServiceQueueSkill
- find-CNetworkGameServer_GetFreeClientSkill
- find-CNetworkMessages_dtorSkill
- find-CNetworkMessages_FindOrCreateNetMessage-14197Skill
- find-CNetworkMessages_GetIsForServerSkill
- find-CNetworkMessages_LookupNetworkSerializationContextDataIdSkill
- find-CNetworkMessages_UnserializeMessageInternalSkill
- find-CNetworkMessages_vtable-decompilesSkill
- find-CNetworkStringTableContainer_RemoveAllTablesSkill
- find-CNetworkSystem_RemoveNetChannel-14197Skill
- find-CNetworkSystem_RemoveNetChannelByAddress-14197Skill
- find-CServerSideClientBase_GetUserIDStringSkill
- find-CSource2Server_Shutdown-decompilesSkill
- find-CSteam3ServerS1_InitGameServer-decompilesSkill
- find-GetCSWeaponDataFromKey-inlinedSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 9 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use the repository-root script as the only entry point for downloading, merging, and depot fallback.
- Very specific: line 10
Never overwrite an existing binary, substitute an unlisted version, or continue after a failed step.
- Distinctive: line 17
If the user did not specify a version, run:
- Distinctive: line 24
Wait for an explicit version before continuing.
- Distinctive: line 38
If the probe exits 0 (available), ask the user whether to download the IDB-bundled gamebin and wait for an explicit yes/no.
- Distinctive: line 43
If the probe exits 1 (unavailable), tell the user which GAMEVER publishes no warm IDB archive and why, then prepare without the flag and …
- Distinctive: line 51
Run from the owning repository root with the IDB download decision applied:
- Distinctive: line 61
If the command fails, stop immediately and report its exact error as:
- Very specific: line 67
Do not attempt an alternate download, edit .env, or proceed to analysis.
- Distinctive: line 86
If the probe fails or prints no version, tell the user IDB warmup is skipped and why (no Python with idalib available), then finish without …
- Very specific: line 88
If the interpreter is available, ask the user whether to warm the IDB databases for <GAMEVER> and wait for an explicit yes/no.
- Distinctive: line 100
Do not silently continue after a failed warmup.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Initialize Game Binaries
Use the repository-root script as the only entry point for downloading, merging, and depot fallback.
Never overwrite an existing binary, substitute an unlisted version, or continue after a failed step. This skill handles
only disposable binary/IDA state: never restore snapshot YAML into bin/ or hydrate tracked bin_artifacts. Source-owned
symbol truth is already versioned under bin_artifacts/<GAMEVER>/.
Select GAMEVER
- Extract an exact
GAMEVERfrom the user's request. Resolvelatestonly when the user explicitly requests latest. If the user did not specify a version, run:
uv run init_gamebin.py versionsTell the user which entry is latest and ask:
Which GAMEVER do you want to initialize?Wait for an explicit version before continuing.- Reject values absent from
download.yaml; do not guess or silently use latest.
Decide IDB Download
A rebuilt Release also publishes gamebin-with-idb-<GAMEVER>.7z, its warm IDA databases. Downloading
it skips the slow, resource-heavy local warmup. Decide before preparing binaries:
Probe whether the selected GAMEVER publishes the archive:
uv run init_gamebin.py check-idb <GAMEVER>- If the probe exits 0 (available), ask the user whether to download the IDB-bundled gamebin and
wait for an explicit yes/no.
- Yes → prepare with
--with-idb. The warm databases are merged intobin/<GAMEVER>and the "Warm Up IDB" step below is skipped (the binaries are already warm). - No → prepare without the flag and keep the "Warm Up IDB" step below.
- Yes → prepare with
- If the probe exits 1 (unavailable), tell the user which GAMEVER publishes no warm IDB archive and why, then prepare without the flag and keep the "Warm Up IDB" step below. Do not retry.
A tracked (rebuild-free) release is published without any IDA analysis and therefore never carries this
archive; --with-idb also fails loudly for a GAMEVER whose Release declares none.
Prepare Binaries
Run from the owning repository root with the IDB download decision applied:
uv run init_gamebin.py prepare <GAMEVER-or-latest> [--with-idb]--with-idb downloads, verifies, and merges the published warm IDA databases without overwriting existing files.
The script prepares missing binaries from the verified Release archive or Steam depot fallback, then checks the
complete configured binary tree against its source-owned binary lock.
If the command fails, stop immediately and report its exact error as:
<skill_error>ERROR REASON</skill_error>Do not attempt an alternate download, edit .env, or proceed to analysis.
Warm Up IDB (optional)
Skip this whole section when the user chose to download the IDB-bundled gamebin (--with-idb): every
configured database was already merged from the Release, so warmup is unnecessary.
Otherwise, after binary preparation succeeds, ask whether to warm the IDA databases for the selected GAMEVER.
Warmup runs full IDA auto-analysis on every configured binary (via warmup_idb.py) and leaves
<binary>.i64 beside each binary so later analysis is fast. It is slow and resource-heavy, so it is
opt-in.
Resolve a Python interpreter with idalib — the same probe the workflows use:
$pythonExe = (Get-Command python -ErrorAction SilentlyContinue).Source & $pythonExe warmup_idb_worker.py --print-ida-versionIf the probe fails or prints no version, tell the user IDB warmup is skipped and why (no Python with idalib available), then finish without warming.
- If the interpreter is available, ask the user whether to warm the IDB databases for
<GAMEVER>and wait for an explicit yes/no. Never warm without explicit consent.Yes → run the warmup producer from the owning repository root:
uv run python warmup_idb.py <GAMEVER> --python "$pythonExe"Already-warm databases (an existing
.i64/.idbwith no.id0lock) are skipped; add--forceonly if the user wants every configured database invalidated and re-warmed. If the command fails, stop and report its exact error to user.Do not silently continue after a failed warmup.
- No → skip warmup and finish.
Report the selected GAMEVER, binary preparation result, warm IDB merge (if any), and optional warmup
result. State that symbol truth remains under tracked bin_artifacts/; the merged .i64 databases are disposable
workspace state, not source truth. Do not offer snapshot restoration or IDB renaming.
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.

