This command will make Geralt learn the skill with the specified skill ID (also known as a talent code). You need to surround the skill ID with apostrophes: learnskill('sword_s3') is correct, learnskill(sword_s3) is not correct. Find a list of all skill IDs at commands.gg/witcher3/skills.
The syntax for the learnskill command is as follows:
This command has the following arguments:
|'Skill ID'||The skill ID, also known as a talent code, of the skill you wish to learn. The skill ID should be surrounded by apostrophes (one on either side). For skill IDs, see our skill ID list at commands.gg/witcher3/skills.|
Find below working examples of the learnskill command.
Running the above console command would make Geralt learn the sword_s3 skill.
This cheat would make Geralt learn the magic_s11 skill.