Advanced Editing

Manual Skin Editing

Reference-heavy documentation for editing inventory.txt manually, including item IDs, gloves, agents, rarities, and StatTrak.

Workflow Manual File Editing
Depth Reference Heavy
Best For Power Users

How to Give Yourself Items, Skins, Agents, and More

Want an easier option first?
Try our own Skin GUI Editor or the full Skin GUI guide before editing inventory.txt by hand.
If you still want to do it manually, the rest of this page walks through it.
Credits:
This guide was put together using assets and reference material from dricotec and Parker.
Parker reference pastebin: https://pastebin.com/icfAsgRw
Parker YouTube tutorial: https://www.youtube.com/watch?v=6TrCRjWmBoQ

Basic Item Template

// Example item entry
"4"
{
    "inventory"        "3"
    "def_index"        "60" // Weapon ID, Pin ID, etc.
    "level"            "1"
    "quality"          "5" // Quality ID
    "flags"            "0"
    "origin"           "8"
    "in_use"           "0"
    "rarity"           "1" // Rarity ID

    "attributes" // Used for skins (omit if it's a pin, sticker, etc.)
    {
        "6"  "282.000000" // Finish Catalog
        "7"  "0.000000"   // Pattern Template
        "8"  "0.100000"   // Float Value
    }
}

This is the exact base format used for items, skins, pins, and similar entries. For pins or other items without finishes, you can remove the entire "attributes" block.

Field Notes

KeyPurpose
"inventory"Inventory slot / item position.
"def_index"Weapon ID, pin ID, glove ID, agent ID, or similar item definition.
"quality"Item quality ID.
"rarity"Item rarity ID.
"6"Finish Catalog.
"7"Pattern Template.
"8"Float value.

Quick Values Used in the Example Above

  • quality 0 = None
  • quality 1 = Genuine
  • quality 2 = Vintage
  • quality 3 = Star
  • rarity 0 = Default
  • rarity 1 = Consumer Grade
  • rarity 2 = Industrial Grade
  • rarity 3 = Mil-Spec Grade
  • rarity 4 = Restricted
  • rarity 5 = Classified
  • rarity 6 = Covert
  • rarity 7 = Contraband

Quality IDs

IDQuality NameNotes
0Normal
1Genuine
2Vintage
3Unusual
4Unique
5Community
6Developer(Valve)
7Selfmade
8Customized
9Strange
10Completed
11Haunted
12Tournament(Souvenir)

Rarity IDs

IDRarity Name
0Default
1Consumer Grade
2Industrial Grade
3Mil-Spec Grade
4Restricted
5Classified
6Covert
7Contraband
99Unusual

Weapon IDs

Use these in "def_index". This list includes standard weapons, utility, equipment, special items, and knife variants.

IDWeapon / ItemIDWeapon / Item
1weapon_deagle2weapon_elite
3weapon_fiveseven4weapon_glock
7weapon_ak478weapon_aug
9weapon_awp10weapon_famas
11weapon_g3sg113weapon_galilar
14weapon_m24916weapon_m4a1
17weapon_mac1019weapon_p90
20weapon_zone_repulsor23weapon_mp5sd
24weapon_ump4525weapon_xm1014
26weapon_bizon27weapon_mag7
28weapon_negev29weapon_sawedoff
30weapon_tec931weapon_taser
32weapon_hkp200033weapon_mp7
34weapon_mp935weapon_nova
36weapon_p25037weapon_shield
38weapon_scar2039weapon_sg556
40weapon_ssg0841weapon_knifegg
42weapon_knife43weapon_flashbang
44weapon_hegrenade45weapon_smokegrenade
46weapon_molotov47weapon_decoy
48weapon_incgrenade49weapon_c4
50item_kevlar51item_assaultsuit
52item_heavyassaultsuit54item_nvg
55item_defuser56item_cutters
57weapon_healthshot58musickit_default
59weapon_knife_t60weapon_m4a1_silencer
61weapon_usp_silencer62Recipe Trade Up
63weapon_cz75a64weapon_revolver
68weapon_tagrenade69weapon_fists
70weapon_breachcharge72weapon_tablet
74weapon_melee75weapon_axe
76weapon_hammer78weapon_spanner
80weapon_knife_ghost81weapon_firebomb
82weapon_diversion83weapon_frag_grenade
84weapon_snowball85weapon_bumpmine

Knives

IDKnife Type
500Bayonet
503Classic Knife (weapon_knife_css)
505Flip Knife
506Gut Knife
507Karambit
508M9 Bayonet
509Huntsman Knife
512Falchion Knife
514Bowie Knife
515Butterfly Knife
516Shadow Daggers
517Paracord Knife
518Survival Knife
519Ursus Knife
520Navaja Knife
521Nomad Knife
522Stiletto Knife
523Widowmaker (Navaja)
525Skeleton Knife

Glove IDs

Glove TypeID
Bloodhound5027
Broken Fang4725
Driver Gloves5031
Hand Wraps5032
Hydra Gloves5035
Moto Gloves5033
Specialist Gloves5034
Sport Gloves5030

Example: Giving Yourself Gloves

// Example: Sport Gloves (Pandora's Box)
"number"
{
    "inventory"        "number"
    "def_index"        "5030" // Sport Gloves
    "level"            "1"
    "quality"          "5"
    "flags"            "0"
    "origin"           "8"
    "in_use"           "0"
    "rarity"           "1"

    "attributes"
    {
        "6"  "282.000000"     // Finish Catalog (Pandora's Box)
        "7"  "69420.000000"   // Pattern Template
        "8"  "0.000000666"    // Float Value
    }
}

You can look up glove or skin finish catalogs here:
https://csgoskins.gg

Agent IDs

CT Agents - Master Agents

  • Cmdr. Frank "Wet Sox" Baroud - 4771
  • Cmdr. Mae "Dead Cold" Jamison - 4711
  • Special Agent Ava - 5308

CT Agents - Superior Agents

  • Chem-Haz Capitaine - 4750
  • Lieutenant Rex Krikey - 4772
  • 1st Lieutenant Farlow - 4712
  • "Two Times" McCoy - 5403

CT Agents - Exceptional Agents

  • "Blueberries" Buckshot - 4619
  • Officer Jacques Beltram - 4753
  • Sergeant Bombson - 4715
  • Markus Delrow - 5306

CT Agents - Distinguished Agents

  • D Squadron Officer - 5602
  • Seal Team 6 Soldier - 5401
  • Operator - 5305

T Agents - Master Agents

  • Sir Bloody Miami Darryl - 4726
  • Sir Bloody Silent Darryl - 4733
  • The Elite Mr. Muhlik - 5108
  • Vypa Sista - 4777

T Agents - Superior Agents

  • Number K - 4732
  • Safecracker Voltzmann - 4727
  • Blackwolf - 5503

T Agents - Exceptional Agents

  • Getaway Sally - 4730
  • Dragomir - 5500
  • Trapper - 4781

T Agents - Distinguished Agents

  • Trapper Aggressor - 4778
  • Jungle Rebel - 5109
  • Street Soldier - 5208

Example: Giving Yourself an Agent

// Example: Number K (The Professionals)
"4"
{
    "inventory"        "3"
    "def_index"        "4732" // Number K
    "level"            "1"
    "quality"          "5"
    "flags"            "0"
    "origin"           "8"
    "in_use"           "0"
    "rarity"           "1"
}

Adding Skins (Weapons and Knives)

You can use CSGOSkins.gg to find any skin's Finish Catalog ID.

Example:

  • AWP Dragon Lore -> Finish Catalog 344
  • AWP def_index -> 9
// Example: Souvenir AWP Dragon Lore
"number"
{
    "inventory"        "number"
    "def_index"        "9"         // AWP
    "level"            "1"
    "quality"          "5"         // Quality ID
    "flags"            "0"
    "origin"           "8"
    "in_use"           "0"
    "rarity"           "12"        // Souvenir
    "attributes"
    {
        "6"  "344.000000" // Finish Catalog (Dragon Lore)
        "7"  "0.000000"   // Pattern Template
        "8"  "0.100000"   // Float
    }
}

StatTrak Guide (by Baldywaldy09)

Date: 15/11/2025

How to add StatTrak to a weapon?

Adding StatTrak is pretty simple once you know which attributes to change.

For weapons:

  • Add attribute 80, value 0 (AttributeKillEater)
  • Add attribute 81, value 0 (AttributeKillEaterScoreType)
  • Set quality to 9 (optional)

For music kits:

  • Add attribute 80, value 0
  • Add attribute 81, value 1
  • Set quality to 9 (optional)
This guide was imported from an older version of the site and still needs a final cleanup pass, but the core item, skin, glove, and agent reference material above is ready to use.