In sqlt.zip there is a script called coe_xfr_sql_profile.sql which will help in generating the sql_profile from other_xml of v$sql_plan and output in executable format. This helps in moving the plan across the environment and also before creating profile helps you in editing the hints.
SQL> @/tmp/coe_xfr_sql_profile.sql Parameter 1: SQL_ID (required) Enter value for 1: bcmu3by7zdb03 Parameter 2: PLAN_HASH_VALUE (required) Enter value for 2: 2415307779 Values passed: ~~~~~~~~~~~~~ SQL_IDÂ Â Â Â Â Â Â Â : "bcmu3by7zdb03" PLAN_HASH_VALUE: "2415307779" Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production With the Partitioning, Data Mining and Real Application Testing options