Askey made 44 appearances last season for the Castle, more than any other team-mate.
They finished 15th in the Pitching In NPL West Division during the 2022/23 campaign - a place and a point above Askey's new employers.
A club statement read: "James needs no introduction to football followers in the local area, following a long stint at neighbours Newcastle Town.
"This is a bit of coup to land James as a host of local clubs chased his signature."
Photo credit: Hanley Town
Keep up-to-date with our exclusive email newsletters.
Subscribe