A few guys of aiscripters.com are thinking about make a tournament with scripts whick only train spears. I suggest you join to this forum to particpate, you have the work done ;)
Anyway, as a general AI, as it happens with every first AI, there are a lot of things to improve:
a- Your villagers should be able to explore at the beginning of the game for sheep/berries, if your scout doesn't find them you'll be in problems.
b- Advance to feudal age with 25-26 villagers can be a good idea if you want to flush agressively. But you have chosen a Fast Castle strategy, with any soldier trained until clicked the castle age botton. In this case it's much better train at least 29 dark villagers or more (depending if you are going to build a market+blacksmith or a barracks/archery/blacksmith in feudal). If once in feudal you can't advance to castle after take wheelbarrow (or 3-4 villagers) without an unacceptable idle TC, it means you have trained to few villagers in the dark age. The same number of villagers will gather more resources if they have been trained earlier.
c- Spears are a nice unit, cheap, don't exhaust your gold mines, and works great against mounted units. But they are weak against everything but cavalry, so better use tehm only if you detect enemy cavalry or when you haven't got gold.
d- Download the Training AI. It contains a lot of knowledge about scripting, providing you a very good basis to start with this hobby. Once you learn from ths formidable guide, you'll be able to smash Chong Hong Wei and Hispain Special, which will mean that you are ready for the Ladder.
Although your current AI could have a chance in the mentioned Only Spear tournament.