Parses an agent file from resource path and populates properties.
The resource path (e.g., "/agents/codebase-locator.md")
true if parsing succeeded, false otherwise