ue-gameplay-ability-system

Implements abilities, attributes, and effects with Unreal Engine's Gameplay Ability System.

55|5|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/kevinpbuckley/unreal-engine-skills --skill ue-gameplay-ability-system-kevinpbuckley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ue-gameplay-ability-system
Source: https://github.com/kevinpbuckley/unreal-engine-skills/tree/main/skills/core/ue-gameplay-ability-system
Command: npx skills add https://github.com/kevinpbuckley/unreal-engine-skills --skill ue-gameplay-ability-system-kevinpbuckley

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building networked abilities, attributes, and status effects in Unreal Engine requires deep knowledge of the Gameplay Ability System (GAS), whose setup steps, lifecycle rules, and replication modes are easy to get wrong and fail silently. ## Core Features & Use Cases - Ability Implementation: Guides UGameplayAbility lifecycle (CanActivateAbility, CommitAbility, EndAbility), instancing and net execution policies, tag gating, and cost/cooldown Gameplay Effects. - Attributes & Effects: Covers UAttributeSet with ATTRIBUTE_ACCESSORS, PreAttributeChange vs PostGameplayEffectExecute, GE duration policies, GE Components, execution calculations, and stacking. - Async Tasks & Cues: Documents UAbilityTask patterns (WaitDelay, PlayMontageAndWait, WaitGameplayEvent) and Gameplay Cues for replicated cosmetic VFX/SFX. - Use Case: Implement a multiplayer dash ability with a stamina cost, a cooldown tag, a montage-driven task, and a replicated impact cue, with the ASC hosted on the PlayerState so state survives respawn. ## Quick Start Ask the agent to implement a GAS-based ability with a cost, cooldown, and gameplay cue for your Unreal Engine 5.8 project.

Frequently Asked Questions about ue-gameplay-ability-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement a gameplay ability in Unreal Engine GAS?

Subclass UGameplayAbility and override ActivateAbility, calling CommitAbility to consume cost and cooldown, then EndAbility when finished. Grant it server-side with ASC->GiveAbility and activate via TryActivateAbilityByClass. Set cost and cooldown Gameplay Effect classes in the Blueprint subclass.

How do I create attributes like health in Unreal GAS?

Declare FGameplayAttributeData properties in a UAttributeSet subclass and use the ATTRIBUTE_ACCESSORS macro to generate getters and setters. Register the set as a subobject on the ASC's owning actor, and modify values only through Gameplay Effects so replication and prediction work.

Should the Ability System Component go on the Pawn or PlayerState?

For multiplayer player characters, put the ASC on the PlayerState so ability state survives respawn, and have the Pawn implement IAbilitySystemInterface returning it. For AI or simple actors, place the ASC directly on the Pawn and call InitAbilityActorInfo(this, this).

Why is my GAS ability not replicating or predicting correctly?

Common causes are a wrong ASC replication mode (Mixed is required for player-owned ASCs), missing UAbilitySystemGlobals::InitGlobalData() at startup, or writing attribute fields directly instead of applying Gameplay Effects. Also verify the ability uses a compatible net execution policy like LocalPredicted.

When should I not use the Gameplay Ability System?

GAS is heavyweight and best suited to games with many interacting abilities and stats. For a couple of simple actions, plain actor components are simpler and avoid the plugin setup, attribute plumbing, and replication configuration overhead.